File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -100,9 +100,9 @@ def build_extension(self, ext):
100
100
PARTIO_EXT = CMakeExtension (
101
101
name = "partio" ,
102
102
cmake_configure_options = [
103
- "-DPYTHON_INCLUDE_DIR ={} " .format (get_python_inc ()),
104
- "-DPYTHON_LIBRARY ={} " .format (get_config_var ("LIBDIR" )),
105
- "-DPYTHON_EXECUTABLE ={} " .format (sys .executable ),
103
+ "-DPython_INCLUDE_DIR ={} " .format (get_python_inc ()),
104
+ "-DPython_LIBRARY ={} " .format (get_config_var ("LIBDIR" )),
105
+ "-DPython_EXECUTABLE ={} " .format (sys .executable ),
106
106
],
107
107
)
108
108
Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ get_property(swig_files TARGET partio_mod PROPERTY SWIG_SUPPORT_FILES)
47
47
target_include_directories (
48
48
partio_mod
49
49
PRIVATE
50
- ${PYTHON_INCLUDE_DIRS }
50
+ ${Python_INCLUDE_DIRS }
51
51
${CMAKE_SOURCE_DIR} /src/lib
52
52
)
53
- target_link_libraries (partio_mod PRIVATE ${PYTHON_LIBRARIES } partio)
53
+ target_link_libraries (partio_mod PRIVATE ${Python_LIBRARIES } partio)
54
54
55
55
set (PYTHON_DEST "${CMAKE_INSTALL_LIBDIR} /python${Python_VERSION_MAJOR} .${Python_VERSION_MINOR} /site-packages" )
56
56
You can’t perform that action at this time.
0 commit comments