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)
143
143
message (STATUS "Python ${version} binding enabled. "
144
144
"The pycsdiff module will be built!" )
145
145
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
148
148
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}} )
150
150
151
151
# 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
153
153
PREFIX "" OUTPUT_NAME "pycsdiff" )
154
154
155
- install (TARGETS pycsdiff ${version}
155
+ install (TARGETS pycsdiff_py ${version}
156
156
DESTINATION ${Python${version}_SITEARCH} )
157
157
endmacro ()
158
158
You can’t perform that action at this time.
0 commit comments