diff options
Diffstat (limited to 'cmake.patch')
-rw-r--r-- | cmake.patch | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cmake.patch b/cmake.patch index 80f566236f4c..79575cb55526 100644 --- a/cmake.patch +++ b/cmake.patch @@ -1,13 +1,13 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6b00d03..c04c165 100644 +index 1b903d6..de9e622 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -70,7 +70,7 @@ if (NOT Python3_NOT_FOUND AND NOT Numpy_NOT_FOUND AND PYTHONLIBS_FOUND) - # TODO deal with both python2/3 - execute_process(COMMAND python3 ${CMAKE_SOURCE_DIR}/python_build_flags.py OUTPUT_VARIABLE PY_OUT) - set(PY_VARS CFLAGS LDFLAGS LINKER EXT_SUFFIX) --cmake_parse_arguments(PY "" "${PY_VARS}" "" ${PY_OUT}) -+cmake_parse_arguments(PY "" ${PY_VARS} "" ${PY_OUT}) - separate_arguments(PY_CFLAGS) - separate_arguments(PY_LDFLAGS) - +@@ -136,7 +136,7 @@ if (NOT Python3_NOT_FOUND AND NOT Numpy_NOT_FOUND AND PYTHONLIBS_FOUND AND BUILD + # TODO deal with both python2/3 + execute_process(COMMAND python3 ${CMAKE_CURRENT_SOURCE_DIR}/python_build_flags.py OUTPUT_VARIABLE PY_OUT) + set(PY_VARS CFLAGS LDFLAGS LINKER EXT_SUFFIX) +- cmake_parse_arguments(PY "" "${PY_VARS}" "" ${PY_OUT}) ++ cmake_parse_arguments(PY "" ${PY_VARS} "" ${PY_OUT}) + separate_arguments(PY_CFLAGS) + list(REMOVE_ITEM PY_CFLAGS -flto) + separate_arguments(PY_LDFLAGS)
\ No newline at end of file |