NOISSUE do not install .a files for shared libraries on Windows

This commit is contained in:
Petr Mrázek 2018-01-27 02:42:27 +01:00
parent 166e5a03d6
commit cd55674b36
7 changed files with 27 additions and 7 deletions

View File

@ -28,4 +28,8 @@ qt5_use_modules(MultiMC_gui Gui)
target_include_directories(MultiMC_gui PUBLIC "${CMAKE_CURRENT_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
# Install it
install(TARGETS MultiMC_gui DESTINATION ${LIBRARY_DEST_DIR})
install(
TARGETS MultiMC_gui
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
)

View File

@ -461,4 +461,8 @@ qt5_use_modules(MultiMC_logic Core Xml Network Concurrent)
target_include_directories(MultiMC_logic PUBLIC "${CMAKE_CURRENT_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}" PRIVATE "${ZLIB_INCLUDE_DIRS}")
# Install it
install(TARGETS MultiMC_logic DESTINATION ${LIBRARY_DEST_DIR})
install(
TARGETS MultiMC_logic
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
)

View File

@ -21,4 +21,8 @@ set_target_properties(MultiMC_iconfix PROPERTIES CXX_VISIBILITY_PRESET hidden VI
generate_export_header(MultiMC_iconfix)
# Install it
install(TARGETS MultiMC_iconfix DESTINATION ${LIBRARY_DEST_DIR})
install(
TARGETS MultiMC_iconfix
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
)

@ -1 +1 @@
Subproject commit c3ec5b3bc76f63c0de93d29077e3fc67e6222795
Subproject commit 92f8d57227feb94643378ecf595626c60c0f59b8

View File

@ -38,7 +38,11 @@ set_target_properties(MultiMC_unpack200 PROPERTIES CXX_VISIBILITY_PRESET hidden
generate_export_header(MultiMC_unpack200)
# Install it
install(TARGETS MultiMC_unpack200 DESTINATION ${LIBRARY_DEST_DIR})
install(
TARGETS MultiMC_unpack200
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
)
if(PACK200_BUILD_BINARY)
add_executable(anti200 anti200.cpp)

@ -1 +1 @@
Subproject commit 4747be9520dd55ed226ebe553403bde3bf660cab
Subproject commit 683e2ec8ada758d6e48d31ec606840802e6941b7

View File

@ -15,4 +15,8 @@ target_include_directories(MultiMC_rainbow PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/i
qt5_use_modules(MultiMC_rainbow Core Gui)
# Install it
install(TARGETS MultiMC_rainbow DESTINATION ${LIBRARY_DEST_DIR})
install(
TARGETS MultiMC_rainbow
RUNTIME DESTINATION ${LIBRARY_DEST_DIR}
LIBRARY DESTINATION ${LIBRARY_DEST_DIR}
)