Skip to content

Commit

Permalink
Update wxgtk cmake step
Browse files Browse the repository at this point in the history
  • Loading branch information
timhutton committed Jun 9, 2024
1 parent c1b126c commit 0297f51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@ else()
pkg_check_modules(GTK3 REQUIRED gtk+-3.0)
include_directories(${GTK3_INCLUDE_DIRS})
link_libraries(${GTK3_LIBRARIES})
elseif("-lwx_gtk3u_core-3.2" IN_LIST wxWidgets_LIBRARIES)
pkg_check_modules(GTK3 REQUIRED gtk+-3.2)
include_directories(${GTK3_INCLUDE_DIRS})
link_libraries(${GTK3_LIBRARIES})
else()
message(FATAL_ERROR "Didn't find -lwx_gtk2u_core-3.0 or -lwx_gtk3u_core-3.0 in wxWidgets_LIBRARIES - unable to detect GTK version to use: ${wxWidgets_LIBRARIES}")
endif()
Expand Down

0 comments on commit 0297f51

Please sign in to comment.