diff options
author | Kyle Guinn <elyk03@gmail.com> | 2017-02-02 22:40:28 -0600 |
---|---|---|
committer | Kyle Guinn <elyk03@gmail.com> | 2017-02-02 22:40:28 -0600 |
commit | e64606d9f0823a46bd83b46decd03b996867a1bf (patch) | |
tree | 5f0765b0ddb9008d85f66934e6ac65046a78606c /CBLAS | |
parent | ef560d9ffeb26452756e27631a0996297bc214f9 (diff) | |
download | lapack-e64606d9f0823a46bd83b46decd03b996867a1bf.tar.gz lapack-e64606d9f0823a46bd83b46decd03b996867a1bf.tar.bz2 lapack-e64606d9f0823a46bd83b46decd03b996867a1bf.zip |
Sanitize the installation directories
Be consistent and use CMAKE_INSTALL_*DIR variables throughout, instead
of a mix of CMAKE_INSTALL_PREFIX with appended text.
Diffstat (limited to 'CBLAS')
-rw-r--r-- | CBLAS/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CBLAS/CMakeLists.txt b/CBLAS/CMakeLists.txt index 580864fb..f7be6e2d 100644 --- a/CBLAS/CMakeLists.txt +++ b/CBLAS/CMakeLists.txt @@ -45,7 +45,7 @@ endif() set(_cblas_config_install_guard_target "") if(ALL_TARGETS) install(EXPORT cblas-targets - DESTINATION ${LIBRARY_DIR}/cmake/cblas-${LAPACK_VERSION}) + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}) # Choose one of the cblas targets to use as a guard for # cblas-config.cmake to load targets from the install tree. list(GET ALL_TARGETS 0 _cblas_config_install_guard_target) @@ -78,8 +78,8 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/cblas-config-install.cmake.in install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/cblas-config.cmake ${LAPACK_BINARY_DIR}/cblas-config-version.cmake - DESTINATION ${LIBRARY_DIR}/cmake/cblas-${LAPACK_VERSION} + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION} ) #install(EXPORT cblas-targets -# DESTINATION ${LIBRARY_DIR}/cmake/cblas-${LAPACK_VERSION}) +# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cblas-${LAPACK_VERSION}) |