Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Bastien Legoy
ensimag-malloc
Commits
1a9563fc
Commit
1a9563fc
authored
Jan 05, 2022
by
Thomas Vincent
Browse files
Update Cmakelists
parent
a71ca79c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
CMakeLists.txt
CMakeLists.txt
+2
-7
No files found.
CMakeLists.txt
View file @
1a9563fc
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment