Skip to content

Commit

Permalink
projects that depend on wx call build_wx() to determine gtk version
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott M Anderson committed Oct 15, 2016
1 parent a274ca0 commit 9db57e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions projects/libgeotiff.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ function(build_libgeotiff)
if(NOT (XP_DEFAULT OR XP_PRO_LIBGEOTIFF))
return()
endif()
build_wx() # determine gtk version
set(wxver 31) # specify the wx version to build libgeotiff against
if(NOT (XP_DEFAULT OR XP_PRO_WX${wxver}))
message(STATUS "libgeotiff.cmake: requires wx${wxver}")
Expand Down
2 changes: 1 addition & 1 deletion projects/wxx.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function(build_wxx)
if(NOT (XP_DEFAULT OR XP_PRO_WXX))
return()
endif()
build_wx()
build_wx() # determine gtk version
foreach(ver ${WX_VERSIONS})
build_wxxv(${ver})
endforeach()
Expand Down

0 comments on commit 9db57e2

Please sign in to comment.