CMake correction
This commit is contained in:
parent
43d7fee538
commit
720419de2f
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue