File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -143,16 +143,16 @@ macro(build_pycsdiff version boost_python_lib_names)
143143 message (STATUS "Python ${version} binding enabled. "
144144 "The pycsdiff module will be built!" )
145145
146- add_library (pycsdiff ${version} SHARED pycsdiff.cc)
147- target_include_directories (pycsdiff ${version} SYSTEM
146+ add_library (pycsdiff_py ${version} SHARED pycsdiff.cc)
147+ target_include_directories (pycsdiff_py ${version} SYSTEM
148148 PRIVATE ${Python${version} _INCLUDE_DIRS})
149- target_link_libraries (pycsdiff ${version} PRIVATE ${BOOST_PYTHON${version} })
149+ target_link_libraries (pycsdiff_py ${version} PRIVATE ${BOOST_PYTHON${version} })
150150
151151 # remove 'lib' prefix so that `python -c 'import pycsdiff' works`
152- set_target_properties (pycsdiff ${version} PROPERTIES
152+ set_target_properties (pycsdiff_py ${version} PROPERTIES
153153 PREFIX "" OUTPUT_NAME "pycsdiff" )
154154
155- install (TARGETS pycsdiff ${version}
155+ install (TARGETS pycsdiff_py ${version}
156156 DESTINATION ${Python${version} _SITEARCH})
157157endmacro ()
158158
You can’t perform that action at this time.
0 commit comments