Skip to content

Commit 0861705

Browse files
committed
harmonize_libdir_install
1 parent 02d22c5 commit 0861705

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,11 @@ install(EXPORT GMDS_SUITE
414414
)
415415

416416
set(INCLUDE_INSTALL_DIR include/)
417-
set(LIB_INSTALL_DIR lib/)
418417

419418
include(CMakePackageConfigHelpers)
420419
configure_package_config_file(
421420
gmdsConfig.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/gmdsConfig.cmake
422-
INSTALL_DESTINATION ${LIB_INSTALL_DIR}/gmds/cmake
421+
INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/gmds/cmake
423422
PATH_VARS INCLUDE_INSTALL_DIR
424423
)
425424

@@ -432,5 +431,5 @@ write_basic_package_version_file(
432431
install(FILES
433432
${CMAKE_CURRENT_BINARY_DIR}/gmdsConfig.cmake
434433
# ${CMAKE_CURRENT_BINARY_DIR}/gmdsConfigVersion.cmake
435-
DESTINATION ${LIB_INSTALL_DIR}/gmds/cmake
434+
DESTINATION ${CMAKE_INSTALL_LIBDIR}/gmds/cmake
436435
)

0 commit comments

Comments
 (0)