Verified Commit 48a4d95a authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: add missing COMPILE_OPTIONS

parent cbb14de6
Pipeline #13920 passed with stage
in 148 minutes and 57 seconds
......@@ -128,6 +128,7 @@ IF(BUILD_PYTHON_INTERFACE)
SET(PKG_CONFIG_PYWRAP_REQUIRES "eigenpy >= 2.6.2")
ADD_LIBRARY(${PYWRAP} SHARED ${${PYWRAP}_SOURCES} ${${PYWRAP}_HEADERS})
IF(BUILD_WITH_OPENMP_SUPPORT)
TARGET_COMPILE_OPTIONS(${PYWRAP} PRIVATE ${OpenMP_COMPILE_OPTIONS})
TARGET_COMPILE_DEFINITIONS(${PYWRAP} PRIVATE -DPINOCCHIO_PYTHON_INTERFACE_WITH_OPENMP)
TARGET_INCLUDE_DIRECTORIES(${PYWRAP} SYSTEM PRIVATE ${OpenMP_INCLUDE_DIR})
#TARGET_LINK_LIBRARIES(${PYWRAP} PRIVATE -Wl,-undefined,dynamic_lookup,${OpenMP_LIBRARIES})
......
Supports Markdown
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