mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
cmake: try harder to find the cmake modules we install
While I clearly recall that in the past the couple of cmake modules that were installed when building the dependencies were found, in my latest tests on macOS 12 with the latest cmake this seems to fail. This seems like a cheap quick way to ensure that things behave as expected. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f0d819a842
commit
efdc525a22
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ endif ()
|
||||||
|
|
||||||
set(CMAKE_MODULE_PATH
|
set(CMAKE_MODULE_PATH
|
||||||
${${PROJECT_NAME}_SOURCE_DIR}/cmake/Modules
|
${${PROJECT_NAME}_SOURCE_DIR}/cmake/Modules
|
||||||
|
${${PROJECT_NAME}_SOURCE_DIR}/../install-root/lib/cmake
|
||||||
${CMAKE_MODULE_PATH}
|
${CMAKE_MODULE_PATH}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue