From 3983c1988d586f79c421f657f06f4f22dd7a9eb2 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Tue, 9 Apr 2024 11:18:14 -0400 Subject: [PATCH] Don't install app and code in full installation --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b940ec0..387cdb9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -331,12 +331,14 @@ if(NOT EMSCRIPTEN) MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/share/Info.cmake.plist.in) target_link_libraries(app PRIVATE glvis glvis_logo) install(TARGETS app + EXCLUDE_FROM_ALL RUNTIME DESTINATION . BUNDLE DESTINATION .) install(CODE [[ include (BundleUtilities) fixup_bundle("${CMAKE_INSTALL_PREFIX}/GLVis.app" "" "") - ]] COMPONENT RUNTIME) + ]] COMPONENT RUNTIME + EXCLUDE_FROM_ALL) endif(NOT EMSCRIPTEN) -- 2.41.0