CMake: OSG_WINDOWING_SYSTEM fixed; FORCE flag removed

This commit is contained in:
valid-ptr
2019-04-14 00:04:11 +03:00
committed by Konstantin S. Matveyev
parent 1784381dc7
commit b5dff94107
2 changed files with 6 additions and 7 deletions

View File

@@ -81,12 +81,6 @@ IF(WIN32 AND NOT ANDROID)
PixelBufferWin32.cpp
)
ELSE()
IF(ANDROID)
SET(OSG_WINDOWING_SYSTEM "None" CACHE STRING "None Windowing system type for graphics window creation." FORCE)
ELSE()
SET(OSG_WINDOWING_SYSTEM "X11" CACHE STRING "Windowing system type for graphics window creation. options only X11" FORCE)
ENDIF()
IF(${OSG_WINDOWING_SYSTEM} STREQUAL "Cocoa")
ADD_DEFINITIONS(-DUSE_DARWIN_COCOA_IMPLEMENTATION)