aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--effcee/CMakeLists.txt4
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