diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b13fe3d..eebfbe4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,7 +43,7 @@ if(CORRADE_TARGET_WINDOWS) set(SAVETOOL_RC_FILE resource.rc) endif() -add_executable(MassBuilderSaveTool WIN32 +add_executable(MassBuilderSaveTool main.cpp SaveTool/SaveTool.h SaveTool/SaveTool.cpp @@ -109,6 +109,10 @@ add_executable(MassBuilderSaveTool WIN32 ${Assets} ) +if(CORRADE_TARGET_WINDOWS) + set_target_properties(${PROJECT_NAME} PROPERTIES WIN32_EXECUTABLE $) +endif() + if(CMAKE_BUILD_TYPE STREQUAL Debug) target_compile_definitions(Logger PRIVATE SAVETOOL_DEBUG_BUILD) target_compile_definitions(MassBuilderSaveTool PRIVATE SAVETOOL_DEBUG_BUILD)