Commit 1a9563fc authored by Thomas Vincent's avatar Thomas Vincent
Browse files

Update Cmakelists

parent a71ca79c
......@@ -48,13 +48,8 @@ endif(EXISTS /usr/src/gtest)
##
# Recherche du répertoire avec les headers python
##
if(EXISTS /usr/include/python3.6m/Python.h)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -I/usr/include/python3.6m")
else(EXISTS /usr/include/python3.6m/Python.h)
if (EXISTS /usr/include/python3.8/Python.h)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -I/usr/include/python3.8")
endif (EXISTS /usr/include/python3.8/Python.h)
endif(EXISTS /usr/include/python3.6m/Python.h)
execute_process(COMMAND pkg-config --cflags python3 OUTPUT_VARIABLE python_header OUTPUT_STRIP_TRAILING_WHITESPACE)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${python_header}")
##
# Si vous utilisé plusieurs fichiers, en plus de mem.c et les autres,
......
Markdown is supported
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