CMake correction

This commit is contained in:
ChefKeeper 2017-10-28 13:38:39 +02:00 committed by Tim Felgentreff
parent 43d7fee538
commit 720419de2f

View file

@ -1084,8 +1084,9 @@ add_custom_command(OUTPUT tolua.cpp
if (ENABLE_STDIO_REDIRECT)
add_executable(stratagus WIN32 ${stratagus_SRCS} ${stratagus_HDRS})
else
else ()
add_executable(stratagus ${stratagus_SRCS} ${stratagus_HDRS})
endif ()
target_link_libraries(stratagus ${stratagus_LIBS})
if(CMAKE_BUILD_TYPE STREQUAL "Debug")