diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-20 07:18:15 -0800 |
---|---|---|
committer | David Neto <dneto@google.com> | 2020-04-16 09:37:46 -0700 |
commit | 5af957bbfc7da4e9f7aa8cac11379fa36dd79b84 (patch) | |
tree | 18b4a770f34684112e7d1d78179d814199b0773e | |
parent | 98980e2b785403b5f43c23ed5a81e1a22e7297e8 (diff) | |
download | effcee-upstream-master.tar.gz |
Respect CMAKE_INSTALL_LIBDIR in installed CMake filesupstream-master
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | effcee/CMakeLists.txt | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a521ac3..d96e44a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,7 @@ find_package(Threads) include(cmake/setup_build.cmake) include(cmake/utils.cmake) +include(GNUInstallDirs) add_subdirectory(third_party) add_subdirectory(effcee) diff --git a/effcee/CMakeLists.txt b/effcee/CMakeLists.txt index 149f932..840c87f 100644 --- a/effcee/CMakeLists.txt +++ b/effcee/CMakeLists.txt @@ -14,8 +14,8 @@ install( DESTINATION include/effcee) install(TARGETS effcee - LIBRARY DESTINATION lib - ARCHIVE DESTINATION lib) + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) if(EFFCEE_BUILD_TESTING) add_executable(effcee-test |