diff --git a/CMakeLists.txt b/CMakeLists.txt index d1bb83e..c049afe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,10 +23,10 @@ option(BUILD_SHARED_LIBS "Build a shared library instead of static" OFF) option(SDL_VENDORED "Use vendored libraries" ON) if(CMAKE_HOST_WIN32) + add_executable(8ChocChip WIN32) set_target_properties(8ChocChip PROPERTIES WIN32_EXECUTABLE TRUE ) - add_executable(8ChocChip WIN32) else() add_executable(8ChocChip) endif()