Disable the Windows console window explicitly on all backends
Not just MSVC
This commit is contained in:
parent
e866d7bd9b
commit
5002e68be7
1 changed files with 4 additions and 2 deletions
|
@ -273,13 +273,15 @@ if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (WIN32)
|
||||||
|
set_target_properties(CSE2 PROPERTIES WIN32_EXECUTABLE YES) # Disable the console window
|
||||||
|
endif()
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
if (STATIC)
|
if (STATIC)
|
||||||
message(WARNING "Static builds are not available for MSVC")
|
message(WARNING "Static builds are not available for MSVC")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_target_properties(CSE2 PROPERTIES WIN32_EXECUTABLE YES) # Disable the console window
|
|
||||||
|
|
||||||
# Find dependencies
|
# Find dependencies
|
||||||
|
|
||||||
# In MSVC we just use our own provided copy of SDL2 and FreeType
|
# In MSVC we just use our own provided copy of SDL2 and FreeType
|
||||||
|
|
Loading…
Add table
Reference in a new issue