Fix GeographicLib find_package by adding CMAKE_MODULE_PATH
- Add /usr/share/cmake/geographiclib to CMAKE_MODULE_PATH - This allows CMake to find FindGeographicLib.cmake from system package - Required for DEB build in Docker container Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 file changed
+2
@@ -13,6 +13,8 @@ else()
|
||||
endif()
|
||||
|
||||
|
||||
# Add system GeographicLib Find module path
|
||||
list(APPEND CMAKE_MODULE_PATH /usr/share/cmake/geographiclib)
|
||||
FIND_PACKAGE(GeographicLib)
|
||||
NGL_ADD_LIBRARY2(LtsCoordTrans WS AAR SV HLA SHARED
|
||||
lts_coord_trans.h
|
||||
|
||||
Reference in new issue
Block a user