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