Compare Pastes

Differences between the pastes #271115 (03.11.2023 01:44) and #271143 (04.11.2023 19:25).
1
diff --git a/src-core/CMakeLists.txt b/src-core/CMakeLists.txt
2
index 9c8ecb5a..fc68f6e3 100644
3
--- a/src-core/CMakeLists.txt
4
+++ b/src-core/CMakeLists.txt
5
@@ -4,6 +4,7 @@ include(CheckIncludeFileCXX)
6
 include(CheckCSourceCompiles)
7
 include(CMakePushCheckState)
8
 include(CheckCCompilerFlag)
9
+include(GNUInstallDirs)
10
 
11
 file(GLOB_RECURSE SatDump_core_CPPS *.cpp
12
     libs/aec/*.c
13
@@ -168,6 +169,6 @@ else()
14
     endif()
15
 endif()
16
 
17
-install(TARGETS satdump_core DESTINATION lib)
18
+install(TARGETS satdump_core DESTINATION ${LIBDIR})
19
 install(DIRECTORY . DESTINATION include/satdump FILES_MATCHING PATTERN "*.h")
20
 install(DIRECTORY . DESTINATION include/satdump FILES_MATCHING PATTERN "*.hpp")