21 lines
661 B
Diff
21 lines
661 B
Diff
|
Author: Trolli Schmittlauch <t.schmittlauch@orlives.de>
|
||
|
Date: Sat Sep 14 20:32:03 2019 +0200
|
||
|
|
||
|
fix #143 by setting LIB_INSTALL_DIR CMake var
|
||
|
|
||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 481ddd0..833ddf9 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -225,6 +225,10 @@ set(include_install_dir "include")
|
||
|
|
||
|
set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")
|
||
|
|
||
|
+if (NOT LIB_INSTALL_DIR)
|
||
|
+ set (LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib")
|
||
|
+endif (NOT LIB_INSTALL_DIR)
|
||
|
+
|
||
|
# Configuration
|
||
|
set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake")
|
||
|
set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake")
|