Commit 04d1ecf6 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Code Review

Merge topic 'fix-cosmotools-install-for-mac' into master

93733ff3 Fix install rules for Mac
parents 6e984332 93733ff3
......@@ -4,10 +4,19 @@ execute_process(
WORKING_DIRECTORY ${TMP_DIR}
)
execute_process(
if (UNIX AND NOT APPLE)
execute_process(
COMMAND ${CMAKE_COMMAND} -E copy ${BINARY_DIR}/libs/libPVCosmologyToolsPlugins.so ${TMP_DIR}/CosmologyToolsPlugin
WORKING_DIRECTORY ${TMP_DIR}
)
)
endif()
if (APPLE)
execute_process(
COMMAND ${CMAKE_COMMAND} -E copy ${BINARY_DIR}/libs/libPVCosmologyToolsPlugins.dylib ${TMP_DIR}/CosmologyToolsPlugin
WORKING_DIRECTORY ${TMP_DIR}
)
endif()
execute_process(
COMMAND ${CMAKE_COMMAND} -E tar cvfz ${bundle_name} ${TMP_DIR}/CosmologyToolsPlugin
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment