diff options
author | saturneric <[email protected]> | 2024-07-28 17:53:59 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-28 17:53:59 +0000 |
commit | a03c18045fc38478597e015894c4a892dd844de0 (patch) | |
tree | 2ab0fea2f559f538e62b9b9592bfab91ed123c5c | |
parent | feat: support more build mode (diff) | |
download | GpgFrontend-a03c18045fc38478597e015894c4a892dd844de0.tar.gz GpgFrontend-a03c18045fc38478597e015894c4a892dd844de0.zip |
fix: remove libs from install lists at app build only mode
-rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a91bc2ea..e08c9c87 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -495,12 +495,17 @@ endif() # if building linux package if (LINUX AND LINUX_INSTALL_SOFTWARE) include(GNUInstallDirs) - set(GPGFRONTEND_INSTALL_LIBRARIES + + if(STABLE_BUILD_ONLY_APPLICATION) + set(GPGFRONTEND_INSTALL_LIBRARIES "") + else() + set(GPGFRONTEND_INSTALL_LIBRARIES mimalloc gpgfrontend_core gpgfrontend_ui gpgfrontend_test gpgfrontend_module_sdk) + endif() message(STATUS "GpgFrontend Install Libraries: ${GPGFRONTEND_INSTALL_LIBRARIES}") install(TARGETS ${AppName} ${GPGFRONTEND_INSTALL_LIBRARIES} |