Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ add_executable(pscf
${CMAKE_CURRENT_BINARY_DIR}/pscf_pd.f
)

set(APPS ${CMAKE_CURRENT_BINARY_DIR}/pscf${MACOSX_BUNDLE_EXT})
set(APPS "${CMAKE_CURRENT_BINARY_DIR}/pscf${MACOSX_BUNDLE_EXT}")
set(DIRS "")

# TODO: clean up these links
Expand All @@ -70,11 +70,11 @@ install(TARGETS pscf

if (BUILD_DMG)
# Copy libraries into the DMG
INSTALL(CODE "
include(BundleUtilities)
set (BU_CHMOD_BUNDLE_ITEMS ON)
fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\")
" COMPONENT Runtime)
INSTALL(CODE "
include(BundleUtilities)
set (BU_CHMOD_BUNDLE_ITEMS ON)
fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\")
" COMPONENT Runtime)
endif (BUILD_DMG)

#install(TARGETS pscf
Expand Down