mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
Install CMake files to lib/cmake/Ceres
This is the right thing to do since the CMake files contain target specific information - share is only for target-independent files. Without this patch, the CMake files will collide on distributions that allow to install for multiple targets in parallel (e. g. on Exherbo). Change-Id: Iac17af63b9f9b25d0ca400c77c2b2e0e8a51196f
This commit is contained in:
+1
-1
@@ -760,7 +760,7 @@ configure_file("${CMAKE_SOURCE_DIR}/cmake/CeresConfigVersion.cmake.in"
|
||||
if (WIN32)
|
||||
set(RELATIVE_CMAKECONFIG_INSTALL_DIR CMake)
|
||||
else ()
|
||||
set(RELATIVE_CMAKECONFIG_INSTALL_DIR share/Ceres)
|
||||
set(RELATIVE_CMAKECONFIG_INSTALL_DIR lib/cmake/Ceres)
|
||||
endif ()
|
||||
|
||||
# This "exports" for installation all targets which have been put into the
|
||||
|
||||
Reference in New Issue
Block a user