Skip to content
Snippets Groups Projects
Commit 23d03757 authored by Andreas Schenk's avatar Andreas Schenk
Browse files

added LIB_DIR to OSX deployment code block

parent eda9808d
Branches
Tags
No related merge requests found
......@@ -14,6 +14,7 @@ set (CPACK_BUNDLE_ICON ${PROJECT_SOURCE_DIR}/graphics/icon.icns)
set(CPACK_PACKAGE_INSTALL_DIRECTORY "openstructure ${OST_VERSION_STRING}" )
install(CODE "
if(NOT ${CMAKE_INSTALL_PREFIX} STREQUAL \${CMAKE_INSTALL_PREFIX})
set(LIB_DIR ${LIB_DIR}) #pass libdir variable in install code block
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake_support)
include(CopyDependencies)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment