Skip to content

Commit

Permalink
Added necessary library and fix actions logic
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykorir committed Jun 15, 2024
1 parent 1889a6c commit 467e75d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ project(wxMinesweeper LANGUAGES CXX)

include(ExternalProject)
ExternalProject_Add(wxwidgets
GIT_REPOSITORY https://github.com/wxwidge
GIT_REPOSITORY https://github.com/wxWidgets/wxWidgets.git
GIT_TAG origin/release/v3.2.4
STEP_TARGETS build
)
aux_source_directory(. SRC_LIST)
#find_package(wxWidgets REQUIRED COMPONENTS net core base)
#if(wxWidgets_USE_FILE) # not defined in CONFIG mode
# include(${wxWidgets_USE_FILE})
#endif()
find_package(wxWidgets REQUIRED COMPONENTS net core base)
if(wxWidgets_USE_FILE) # not defined in CONFIG mode
include(${wxWidgets_USE_FILE})
endif()
add_executable(${PROJECT_NAME} ${SRC_LIST})
target_link_libraries(${PROJECT_NAME} ${wxWidgets_LIBRARIES})

0 comments on commit 467e75d

Please sign in to comment.