Переглянути джерело

:snake: switch find pythoninterp and pythonlibs

https://cmake.org/cmake/help/latest/module/FindPythonLibs.html
Former-commit-id: fe35eb05eead4f16cc5e0bdac6af96f89d736b69
Zhongshi 7 роки тому
батько
коміт
c5ce69a9e0
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      python/CMakeLists.txt

+ 2 - 1
python/CMakeLists.txt

@@ -10,8 +10,9 @@ project(pyigl)
 # set(PYTHON_INCLUDE_DIR "/usr/local/Cellar/python3/3.5.0/Frameworks/Python.framework/Versions/3.5/include/python3.5m")
 
 set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6)
-find_package(PythonLibs REQUIRED)
 find_package(PythonInterp REQUIRED)
+find_package(PythonLibs REQUIRED)
+
 
 string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
 if(UNIX)