mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +08:00
chore: correct debug configuration check on Windows
This commit is contained in:
@@ -38,7 +38,7 @@ add_executable(uno-client src/client/main.cpp)
|
||||
target_link_libraries(uno-client
|
||||
PRIVATE uno-game-lib)
|
||||
|
||||
if (WIN32 AND CMAKE_BUILD_TYPE STREQUAL "DEBUG")
|
||||
if (WIN32 AND NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
set_target_properties(uno-client PROPERTIES WIN32_EXECUTABLE ON)
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user