Revert "fix: use our own prefix for rainbow lib"

This reverts commit 61db1c46be.
This commit is contained in:
Philipp David 2022-03-21 09:40:20 +01:00
parent de4d757650
commit 26acc836d9
No known key found for this signature in database
GPG Key ID: 967A5D5EB5071577
2 changed files with 5 additions and 5 deletions

View File

@ -941,7 +941,7 @@ target_link_libraries(Launcher_logic
Launcher_iconfix
QuaZip::QuaZip
hoedown
PolyMC_rainbow
Launcher_rainbow
LocalPeer
)

View File

@ -9,14 +9,14 @@ src/rainbow.cpp
)
add_definitions(-DRAINBOW_LIBRARY)
add_library(PolyMC_rainbow SHARED ${RAINBOW_SOURCES})
target_include_directories(PolyMC_rainbow PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
add_library(Launcher_rainbow SHARED ${RAINBOW_SOURCES})
target_include_directories(Launcher_rainbow PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_link_libraries(PolyMC_rainbow Qt5::Core Qt5::Gui)
target_link_libraries(Launcher_rainbow Qt5::Core Qt5::Gui)
# Install it
install(
TARGETS PolyMC_rainbow
TARGETS Launcher_rainbow
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
)