Skip to content
Prev Previous commit
Next Next commit
Removed "lib" prefix of core.so and source-python.so
  • Loading branch information
Ayuto committed Sep 17, 2013
commit 06689ea44633e16ab1948ba84ffdae649b36ed28
8 changes: 7 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,12 @@ Add_Library(source-python SHARED
${SOURCEPYTHON_LOADER_FILES}
)

# ------------------------------------------------------------------
# Remove prefixes for core and source-python
# ------------------------------------------------------------------
Set_Target_Properties(core PROPERTIES PREFIX "")
Set_Target_Properties(source-python PROPERTIES PREFIX "")

# ------------------------------------------------------------------
# Include the base makefile.
# ------------------------------------------------------------------
Expand Down Expand Up @@ -439,4 +445,4 @@ Else()
# Do it the correct way.
Target_Link_Libraries(core ${SOURCEPYTHON_LINK_LIBRARIES_DEBUG})
Target_Link_Libraries(core ${SOURCEPYTHON_LINK_LIBRARIES_RELEASE})
EndIf()
EndIf()
7 changes: 1 addition & 6 deletions src/makefiles/shared.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,4 @@ Add_Definitions(
# ------------------------------------------------------------------
# The project.
# ------------------------------------------------------------------
Project(source-python C CXX)

# ------------------------------------------------------------------
# Get rid of the library prefix for all distributions.
# ------------------------------------------------------------------
# Set(CMAKE_SHARED_LIBRARY_PREFIX "")
Project(source-python C CXX)