Skip to content
Snippets Groups Projects
Commit 8854f95f authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

Quikfix of a bug in CMakeLists.txt introduced by mac specific compilation impacting linux.

parent 2e3de05a
No related branches found
No related tags found
No related merge requests found
...@@ -314,7 +314,7 @@ if(WITH_LIB_CXX) ...@@ -314,7 +314,7 @@ if(WITH_LIB_CXX)
set(HYSOP_CXX_LIBRARY ${HYSOP_CXX_LIBRARY_DYLIB}) set(HYSOP_CXX_LIBRARY ${HYSOP_CXX_LIBRARY_DYLIB})
set(HYSOP_CXX_LIBRARY_DEP cpp2hysop_dylib) set(HYSOP_CXX_LIBRARY_DEP cpp2hysop_dylib)
else() #nothing to do on other platforms bundle <=> dynamic libraries, so just copy the swig generated one else() #nothing to do on other platforms bundle <=> dynamic libraries, so just copy the swig generated one
set(HYSOP_CXX_LIBRARY_BUNDLE "${LIBRARY_OUTPUT_PATH}/libcpp2hysop_bundle.so") set(HYSOP_CXX_LIBRARY_BUNDLE "${CMAKE_CURRENT_BINARY_DIR}/libcpp2hysop_bundle.so")
add_custom_target(cpp2hysop_bundle add_custom_target(cpp2hysop_bundle
DEPENDS python-build DEPENDS python-build
COMMAND cp `find ${CMAKE_CURRENT_BINARY_DIR}/build -name _${CPP_2_HYSOP}.so` ${HYSOP_CXX_LIBRARY_BUNDLE} COMMAND cp `find ${CMAKE_CURRENT_BINARY_DIR}/build -name _${CPP_2_HYSOP}.so` ${HYSOP_CXX_LIBRARY_BUNDLE}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment