From 10c6d13e455dde89c17fc024e0a392d2bb44f83a Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 15 Oct 2019 10:24:35 -0300 Subject: Update CMakeLists.txt --- CMakeLists.txt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4416649..3fb716a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,10 +12,6 @@ if(NOT CMAKE_BUILD_TYPE) STRING "Choose the type of build." FORCE) endif() -if(MSVC) - add_definitions(/MP) -endif() - if(MSVC AND NOT WXSOURCE) include(${CMAKE_SOURCE_DIR}/winmsvc.cmake) else() @@ -27,14 +23,4 @@ file(GLOB helloworld_SRC "*.h" "*.cpp" ) -add_executable(${PROJECT_NAME} WIN32 ${helloworld_SRC}) target_link_libraries(${PROJECT_NAME} ${wxWidgets_LIBRARIES}) - -if(MSVC) -add_custom_command( - TARGET ${PROJECT_NAME} - POST_BUILD - COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\dpiawarescaleing.manifest\" -inputresource:\"$\"\;\#1 -outputresource:\"$\"\;\#1 - COMMENT "Adding display aware manifest..." -) -endif() -- cgit