Verified Commit e99e0d9a authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix flags

parent 516110e6
Pipeline #13937 passed with stage
in 173 minutes and 9 seconds
......@@ -128,7 +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_CXX_COMPILE_OPTIONS})
TARGET_COMPILE_OPTIONS(${PYWRAP} PRIVATE ${OpenMP_CXX_FLAGS})
TARGET_COMPILE_DEFINITIONS(${PYWRAP} PRIVATE -DPINOCCHIO_PYTHON_INTERFACE_WITH_OPENMP)
TARGET_INCLUDE_DIRECTORIES(${PYWRAP} SYSTEM PRIVATE ${OpenMP_CXX_INCLUDE_DIR})
IF(LINK_PYTHON_INTERFACE_TO_OPENM)
......
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