File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -401,6 +401,12 @@ Add_Library(source-python SHARED
401401 ${SOURCEPYTHON_LOADER_FILES}
402402)
403403
404+ # ------------------------------------------------------------------
405+ # Remove prefixes for core and source-python
406+ # ------------------------------------------------------------------
407+ Set_Target_Properties (core PROPERTIES PREFIX "" )
408+ Set_Target_Properties (source -python PROPERTIES PREFIX "" )
409+
404410# ------------------------------------------------------------------
405411# Include the base makefile.
406412# ------------------------------------------------------------------
@@ -439,4 +445,4 @@ Else()
439445 # Do it the correct way.
440446 Target_Link_Libraries (core ${SOURCEPYTHON_LINK_LIBRARIES_DEBUG} )
441447 Target_Link_Libraries (core ${SOURCEPYTHON_LINK_LIBRARIES_RELEASE} )
442- EndIf ()
448+ EndIf ()
Original file line number Diff line number Diff line change @@ -83,9 +83,4 @@ Add_Definitions(
8383# ------------------------------------------------------------------
8484# The project.
8585# ------------------------------------------------------------------
86- Project (source -python C CXX)
87-
88- # ------------------------------------------------------------------
89- # Get rid of the library prefix for all distributions.
90- # ------------------------------------------------------------------
91- # Set(CMAKE_SHARED_LIBRARY_PREFIX "")
86+ Project (source -python C CXX)
You can’t perform that action at this time.
0 commit comments