dont defaul to system_linux on windows
This commit is contained in:
parent
42a4ba9fb7
commit
02dad32701
@ -59,15 +59,23 @@ elseif (TB_BUILD_DEMO_ANDROID)
|
||||
endif (TB_BUILD_DEMO_GLFW)
|
||||
|
||||
# could try to auto-detect these
|
||||
cmake_dependent_option (TB_SYSTEM_LINUX "Set System to Linux" ON
|
||||
"NOT TB_SYSTEM_WINDOWS;NOT TB_SYSTEM_ANDROID;NOT TB_SYSTEM_MACOSX;NOT TB_SYSTEM_SDL2" OFF)
|
||||
cmake_dependent_option (TB_SYSTEM_ANDROID "Set System to Android" ON
|
||||
"NOT TB_SYSTEM_LINUX;NOT TB_SYSTEM_WINDOWS;NOT TB_SYSTEM_MACOSX;NOT TB_SYSTEM_SDL2" OFF)
|
||||
cmake_dependent_option (TB_SYSTEM_WINDOWS "Set System to Windows" ON
|
||||
"NOT TB_SYSTEM_LINUX;NOT TB_SYSTEM_ANDROID;NOT TB_SYSTEM_MACOSX;NOT TB_SYSTEM_SDL2" OFF)
|
||||
cmake_dependent_option (TB_SYSTEM_MACOSX "Set System to MacOSX" ON
|
||||
"NOT TB_SYSTEM_LINUX;NOT TB_SYSTEM_ANDROID;NOT TB_SYSTEM_WINDOWS;NOT TB_SYSTEM_SDL2" OFF)
|
||||
cmake_dependent_option (TB_SYSTEM_SDL2 "Set System to SDL2" ON
|
||||
if (UNIX)
|
||||
cmake_dependent_option (TB_SYSTEM_LINUX "Set System to Linux" ON
|
||||
"NOT TB_SYSTEM_WINDOWS;NOT TB_SYSTEM_ANDROID;NOT TB_SYSTEM_MACOSX;NOT TB_SYSTEM_SDL2" OFF)
|
||||
endif (UNIX)
|
||||
if (ANDROID)
|
||||
cmake_dependent_option (TB_SYSTEM_ANDROID "Set System to Android" ON
|
||||
"NOT TB_SYSTEM_LINUX;NOT TB_SYSTEM_WINDOWS;NOT TB_SYSTEM_MACOSX;NOT TB_SYSTEM_SDL2" OFF)
|
||||
endif (ANDROID)
|
||||
if (WIN32)
|
||||
cmake_dependent_option (TB_SYSTEM_WINDOWS "Set System to Windows" ON
|
||||
"NOT TB_SYSTEM_LINUX;NOT TB_SYSTEM_ANDROID;NOT TB_SYSTEM_MACOSX;NOT TB_SYSTEM_SDL2" OFF)
|
||||
endif (WIN32)
|
||||
if (APPLE)
|
||||
cmake_dependent_option (TB_SYSTEM_MACOSX "Set System to MacOSX" ON
|
||||
"NOT TB_SYSTEM_LINUX;NOT TB_SYSTEM_ANDROID;NOT TB_SYSTEM_WINDOWS;NOT TB_SYSTEM_SDL2" OFF)
|
||||
endif (APPLE)
|
||||
cmake_dependent_option (TB_SYSTEM_SDL2 "Set System to SDL2" ${TB_BUILD_DEMO_SDL2}
|
||||
"NOT TB_SYSTEM_LINUX;NOT TB_SYSTEM_ANDROID;NOT TB_SYSTEM_WINDOWS;NOT TB_SYSTEM_MACOSX" OFF)
|
||||
|
||||
cmake_dependent_option (TB_CLIPBOARD_DUMMY "Clipboard Dummy" ON
|
||||
|
Loading…
Reference in New Issue
Block a user