summaryrefslogtreecommitdiff
path: root/distribution/osx/CMakeLists.txt
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-29 12:11:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-29 12:11:08 +0200
commit16e9630b79f0a7a90c6cedb6781175bb8b337dc1 (patch)
treee1b09d277dec2057e6b995ec099dd2b1f2129b35 /distribution/osx/CMakeLists.txt
parent09795a01ef859f072920de9df974d1b03b9ab9a4 (diff)
New upstream version 4.3.0upstream/4.3.0
Diffstat (limited to 'distribution/osx/CMakeLists.txt')
-rw-r--r--distribution/osx/CMakeLists.txt51
1 files changed, 5 insertions, 46 deletions
diff --git a/distribution/osx/CMakeLists.txt b/distribution/osx/CMakeLists.txt
index 5269250..2561fae 100644
--- a/distribution/osx/CMakeLists.txt
+++ b/distribution/osx/CMakeLists.txt
@@ -3,53 +3,12 @@ GET_TARGET_PROPERTY(XTRKCAD_LOCATION xtrkcad LOCATION)
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/dependencies.cmake.in" "${CMAKE_CURRENT_BINARY_DIR}/dependencies.cmake" @ONLY)
INSTALL(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/dependencies.cmake")
-# Handle some external dependencies that can't be detected automatically ...
-SET(MACPORTS_DIR "/opt/local" CACHE PATH "Root directory containing installed MacPort packages")
-MARK_AS_ADVANCED(MACPORTS_DIR)
-
-INSTALL(DIRECTORY
- ${MACPORTS_DIR}/lib/gtk-2.0
- DESTINATION lib
- USE_SOURCE_PERMISSIONS
- )
-
-INSTALL(DIRECTORY
- ${MACPORTS_DIR}/etc/gtk-2.0
- DESTINATION etc
- USE_SOURCE_PERMISSIONS
- )
-
-INSTALL(DIRECTORY
- ${MACPORTS_DIR}/lib/pango
- DESTINATION lib
- USE_SOURCE_PERMISSIONS
- )
-
-INSTALL(DIRECTORY
- ${MACPORTS_DIR}/lib/gdk-pixbuf-2.0
- DESTINATION lib
- USE_SOURCE_PERMISSIONS
- )
-
-INSTALL(FILES
- ${MACPORTS_DIR}/etc/pango/pangorc
- ${MACPORTS_DIR}/etc/pango/pango.modules
- DESTINATION etc/pango
- )
-
-INSTALL(FILES
- ${MACPORTS_DIR}/etc/fonts/fonts.conf
- ${MACPORTS_DIR}/etc/fonts/fonts.dtd
- DESTINATION etc/fonts
- )
-
-INSTALL(FILES
- ${CMAKE_CURRENT_SOURCE_DIR}/yosemite-fix/libxml2.2.dylib
- ${CMAKE_CURRENT_SOURCE_DIR}/yosemite-fix/libz.1.dylib
- ${CMAKE_CURRENT_SOURCE_DIR}/yosemite-fix/libiconv.2.dylib
- DESTINATION lib
-)
# Generate bundles ...
ADD_SUBDIRECTORY(bundle)
+# Add replacement bundle technique ...
+FILE(COPY gtk-bundle/ DESTINATION gtk-bundle )
+
+ADD_SUBDIRECTORY(gtk-bundle)
+