We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 875c84d commit 1bce181Copy full SHA for 1bce181
CMakeLists.txt
@@ -42,11 +42,10 @@ endif ()
42
43
add_executable(vpmr src/VPMR.cpp)
44
45
-find_package(Python3 COMPONENTS Development Interpreter)
46
-if (Python3_FOUND)
+find_package(Python 3 COMPONENTS Development Interpreter)
+if (Python_FOUND)
47
add_subdirectory(pybind11)
48
- message(STATUS "Python3: ${Python3_VERSION}")
49
- include_directories(${Python3_INCLUDE_DIRS})
+ message(STATUS "Python3: ${Python_VERSION}")
50
51
pybind11_add_module(_pyvpmr src/VPMR.cpp)
52
target_compile_definitions(_pyvpmr PRIVATE PYVPMR)
0 commit comments