Skip to content
Snippets Groups Projects
Commit 12ac7f16 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

CMake: fix for python 2 and python include dirs

parent de1f0ec0
No related branches found
No related tags found
No related merge requests found
Pipeline #21038 passed with warnings
......@@ -217,9 +217,10 @@ modernize_target_link_libraries(
SCOPE
PUBLIC
TARGETS
Python3::NumPy
Python${PYTHON_VERSION_MAJOR}::NumPy
INCLUDE_DIRS
${NUMPY_INCLUDE_DIRS})
${NUMPY_INCLUDE_DIRS}
${PYTHON_INCLUDE_DIR})
target_include_directories(${PROJECT_NAME} SYSTEM
PRIVATE ${PYTHON_INCLUDE_DIRS})
......
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