fix: use our own prefix for rainbow lib
This commit is contained in:
parent
a60b2feb5f
commit
61db1c46be
@ -959,7 +959,7 @@ target_link_libraries(Launcher_logic
|
|||||||
Launcher_iconfix
|
Launcher_iconfix
|
||||||
QuaZip::QuaZip
|
QuaZip::QuaZip
|
||||||
hoedown
|
hoedown
|
||||||
Launcher_rainbow
|
PolyMC_rainbow
|
||||||
LocalPeer
|
LocalPeer
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -9,14 +9,14 @@ src/rainbow.cpp
|
|||||||
)
|
)
|
||||||
|
|
||||||
add_definitions(-DRAINBOW_LIBRARY)
|
add_definitions(-DRAINBOW_LIBRARY)
|
||||||
add_library(Launcher_rainbow SHARED ${RAINBOW_SOURCES})
|
add_library(PolyMC_rainbow SHARED ${RAINBOW_SOURCES})
|
||||||
target_include_directories(Launcher_rainbow PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
target_include_directories(PolyMC_rainbow PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||||
|
|
||||||
target_link_libraries(Launcher_rainbow Qt5::Core Qt5::Gui)
|
target_link_libraries(PolyMC_rainbow Qt5::Core Qt5::Gui)
|
||||||
|
|
||||||
# Install it
|
# Install it
|
||||||
install(
|
install(
|
||||||
TARGETS Launcher_rainbow
|
TARGETS PolyMC_rainbow
|
||||||
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
|
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
|
||||||
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
|
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user