diff --git a/CMakeLists.txt b/CMakeLists.txt index 17fb71f..b1a2271 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.5) project(wxMinesweeper LANGUAGES CXX) find_package(wxWidgets REQUIRED) -if(NOT wxWidgets_FOUND) +#if(NOT wxWidgets_FOUND) find_package(libwxgtk2.8-dev) find_package(libwxgtk2.8-dbg) include(ExternalProject) @@ -11,7 +11,7 @@ if(NOT wxWidgets_FOUND) GIT_TAG v3.2.4 STEP_TARGETS build ) -endif() +#endif() include(${wxWidgets_USE_FILE}) add_executable(wxMinesweeper field.cpp field.h minesweeper.cpp minesweeper.h) target_link_libraries(${PROJECT_NAME} ${wxWidgets_LIBRARIES})