Skip to content

Commit

Permalink
Look for ortools in opt/ortools_vendor then opt/f2c_ortools
Browse files Browse the repository at this point in the history
  • Loading branch information
aosmw committed Jun 11, 2024
1 parent 46b916d commit 9c3c352
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cmake/Fields2CoverConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ include("${CMAKE_CURRENT_LIST_DIR}/Fields2Cover-Targets.cmake" )
include(CMakeFindDependencyMacro)
find_dependency(GDAL 3.0 REQUIRED)

list(INSERT CMAKE_PREFIX_PATH 0 "${PACKAGE_PREFIX_DIR}/opt/f2c_ortools")
find_dependency(ortools REQUIRED)
list(INSERT CMAKE_PREFIX_PATH 0 "${PACKAGE_PREFIX_DIR}/opt/ortools_vendor")
list(INSERT CMAKE_PREFIX_PATH 1 "${PACKAGE_PREFIX_DIR}/opt/f2c_ortools")

find_dependency(ortools REQUIRED NO_SYSTEM_ENVIRONMENT_PATH)

0 comments on commit 9c3c352

Please sign in to comment.