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 55e7767 commit 7703be1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ ExternalProject_Add(wxwidgets
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 7703be1

Please sign in to comment.