1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| | From 3983c1988d586f79c421f657f06f4f22dd7a9eb2 Mon Sep 17 00:00:00 2001
From: "Paul A. Patience" <paul@apatience.com>
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
|