From 940cf39a6d15219bc7cdd4d06dca212f035f49c8 Mon Sep 17 00:00:00 2001 From: xoorath Date: Thu, 10 Feb 2022 10:14:23 -0800 Subject: [PATCH] removing explicit compile_options --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bb0a88..4daeba0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,14 +2,6 @@ cmake_minimum_required (VERSION 3.15) set(CMAKE_CXX_STANDARD 20) - -add_compile_options( - $<$:/MT> - $<$:/MTd> - $<$:/MT> - $<$:/MTd> - $<$:/MT> -) set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") # This is specifically to pretty up packages made with github actions. @@ -32,7 +24,6 @@ file(GLOB_RECURSE PROJ_SOURCE_FILES add_executable(${PROJECT_NAME} ${PROJ_SOURCE_FILES}) - set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/Example") set_property(TARGET ${PROJECT_NAME} PROPERTY VS_DEBUGGER_COMMAND_ARGUMENTS "-v") set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT ${PROJECT_NAME})