summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-10-15 10:48:41 -0300
committerGitHub <noreply@github.com>2019-10-15 10:48:41 -0300
commit78c382e92c6fad445e12301ae89b4c0f652d5734 (patch)
treef5e2b7459fef0458637657321565c04b0ade22b2
parentae8f021ae4f36abc063af4c1a47514be170f902f (diff)
downloadPSP.git-78c382e92c6fad445e12301ae89b4c0f652d5734.tar.gz
PSP.git-78c382e92c6fad445e12301ae89b4c0f652d5734.tar.xz
PSP.git-78c382e92c6fad445e12301ae89b4c0f652d5734.zip
Update CMakeLists.txt
-rw-r--r--CMakeLists.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f73dccc..fb04f7f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,12 +12,9 @@ if(NOT CMAKE_BUILD_TYPE)
STRING "Choose the type of build." FORCE)
endif()
-if(MSVC AND NOT WXSOURCE)
- include(${CMAKE_SOURCE_DIR}/winmsvc.cmake)
-else()
- find_package(wxWidgets REQUIRED COMPONENTS net core base)
- include(${wxWidgets_USE_FILE})
-endif()
+find_package(wxWidgets REQUIRED COMPONENTS net core base)
+include(${wxWidgets_USE_FILE})
+
message(STATUS "CMAKE_BUILD_TYPE:${CMAKE_BUILD_TYPE}")
file(GLOB PSP_SRC
"*.h"