summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-10-15 10:24:35 -0300
committerGitHub <noreply@github.com>2019-10-15 10:24:35 -0300
commit10c6d13e455dde89c17fc024e0a392d2bb44f83a (patch)
tree57bb55c4c4c3dfa4d9833b5a49a1bd2bd6130e4e
parent2534540198bdaa7747e249e9325d0e5e1076cbd8 (diff)
downloadPSP.git-10c6d13e455dde89c17fc024e0a392d2bb44f83a.tar.gz
PSP.git-10c6d13e455dde89c17fc024e0a392d2bb44f83a.tar.xz
PSP.git-10c6d13e455dde89c17fc024e0a392d2bb44f83a.zip
Update CMakeLists.txt
-rw-r--r--CMakeLists.txt14
1 files changed, 0 insertions, 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:\"$<TARGET_FILE:${PROJECT_NAME}>\"\;\#1 -outputresource:\"$<TARGET_FILE:${PROJECT_NAME}>\"\;\#1
- COMMENT "Adding display aware manifest..."
-)
-endif()