From 94a0db04f97c01324eeaa0bea6a5e6a64d0bde9a Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 6 Mar 2014 10:41:44 -0800 Subject: [PATCH] don't copy resources into OS X bundle --- interface/CMakeLists.txt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index d3a241c675..9f7d0f28c3 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -102,17 +102,6 @@ if (APPLE) SET_SOURCE_FILES_PROPERTIES(${CMAKE_CURRENT_SOURCE_DIR}/interface.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources) SET(INTERFACE_SRCS ${INTERFACE_SRCS} "${CMAKE_CURRENT_SOURCE_DIR}/interface.icns") - - # grab the directories in resources and put them in the right spot in Resources - file(GLOB RESOURCE_SUBDIRS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}/resources" "${CMAKE_CURRENT_SOURCE_DIR}/resources/*") - foreach(DIR ${RESOURCE_SUBDIRS}) - if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/resources/${DIR}") - FILE(GLOB DIR_CONTENTS "resources/${DIR}/*") - SET_SOURCE_FILES_PROPERTIES(${DIR_CONTENTS} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources/${DIR}") - - SET(INTERFACE_SRCS ${INTERFACE_SRCS} "${DIR_CONTENTS}") - endif() - endforeach() endif (APPLE) # create the executable, make it a bundle on OS X