blob: 29b837c54b4ef7eb06665e4b15d4b0b49183b2f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- libshiboken/CMakeLists.txt.orig 2020-11-11 12:51:30 UTC
+++ libshiboken/CMakeLists.txt
@@ -72,7 +72,9 @@ signature/signature_helper.cpp
signature/signature_helper.cpp
)
-get_numpy_location()
+if (WANT_NUMPY)
+ get_numpy_location()
+endif()
if (NOT "${PYTHON_NUMPY_LOCATION}" STREQUAL "")
list(APPEND libshiboken_SRC sbknumpyarrayconverter.cpp)
|