Paste #271140

   
pasted on 04.11.2023 19:11
  • Edit to this paste
  • Print
  • Raw
  • Compare it with the parent paste
  • Look at the parent paste
  • Show paste tree
  • Compare with paste
    #  
  • Toggle line numbers
  • Syntax highlighting  
Text paste
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/src-core/CMakeLists.txt b/src-core/CMakeLists.txt
index 9c8ecb5a..fc68f6e3 100644
--- a/src-core/CMakeLists.txt
+++ b/src-core/CMakeLists.txt
@@ -4,6 +4,7 @@ include(CheckIncludeFileCXX)
 include(CheckCSourceCompiles)
 include(CMakePushCheckState)
 include(CheckCCompilerFlag)
+include(GNUInstallDirs)
 
 file(GLOB_RECURSE SatDump_core_CPPS *.cpp
     libs/aec/*.c
@@ -168,6 +169,6 @@ else()
     endif()
 endif()
 
-install(TARGETS satdump_core DESTINATION lib)
+install(TARGETS satdump_core DESTINATION ${LIBDIR})
 install(DIRECTORY . DESTINATION include/satdump FILES_MATCHING PATTERN "*.h")
 install(DIRECTORY . DESTINATION include/satdump FILES_MATCHING PATTERN "*.hpp")
\ No newline at end of file
Add Comment
Author