Skip to content
Snippets Groups Projects
Commit 60606bc3 authored by Adrien Matta's avatar Adrien Matta :skull_crossbones:
Browse files

* Fixing compilation issue with Modular Leaf on recent Mac Os X

parent ca1ed4c4
No related branches found
No related tags found
No related merge requests found
add_library(NPModularLeaf SHARED TModularLeafPhysics.cxx) add_custom_command(OUTPUT TModularLeafPhysicsDict.cxx COMMAND ../../scripts/build_dict.sh TModularLeafPhysics.h TModularLeafPhysicsDict.cxx TModularLeafPhysics.rootmap libNPModularLeaf.dylib DEPENDS TModularLeafPhysics.h)
add_library(NPModularLeaf SHARED TModularLeafPhysics.cxx TModularLeafPhysicsDict.cxx)
target_link_libraries(NPModularLeaf ${ROOT_LIBRARIES} NPCore) target_link_libraries(NPModularLeaf ${ROOT_LIBRARIES} NPCore)
install(FILES TModularLeafPhysics.h DESTINATION ${CMAKE_INCLUDE_OUTPUT_DIRECTORY}) install(FILES TModularLeafPhysics.h DESTINATION ${CMAKE_INCLUDE_OUTPUT_DIRECTORY})
...@@ -176,6 +176,6 @@ class proxy_modularleaf{ ...@@ -176,6 +176,6 @@ class proxy_modularleaf{
} }
}; };
proxy_modularleaf p; proxy_modularleaf p_modularleaf;
} }
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