mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
install only .dll (without .dll.a)
This commit is contained in:
parent
a96cd51c5a
commit
f7d8faa540
@ -16,6 +16,6 @@ set_target_properties(BattleAI PROPERTIES ${PCH_PROPERTIES})
|
|||||||
cotire(BattleAI)
|
cotire(BattleAI)
|
||||||
|
|
||||||
if (NOT APPLE) # Already inside vcmiclient bundle
|
if (NOT APPLE) # Already inside vcmiclient bundle
|
||||||
install(TARGETS BattleAI DESTINATION ${AI_LIB_DIR})
|
install(TARGETS BattleAI RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -12,5 +12,5 @@ add_library(EmptyAI SHARED ${emptyAI_SRCS})
|
|||||||
target_link_libraries(EmptyAI vcmi)
|
target_link_libraries(EmptyAI vcmi)
|
||||||
|
|
||||||
if (NOT APPLE) # Already inside vcmiclient bundle
|
if (NOT APPLE) # Already inside vcmiclient bundle
|
||||||
install(TARGETS EmptyAI DESTINATION ${AI_LIB_DIR})
|
install(TARGETS EmptyAI RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
@ -16,6 +16,6 @@ set_target_properties(StupidAI PROPERTIES ${PCH_PROPERTIES})
|
|||||||
cotire(StupidAI)
|
cotire(StupidAI)
|
||||||
|
|
||||||
if (NOT APPLE) # Already inside vcmiclient bundle
|
if (NOT APPLE) # Already inside vcmiclient bundle
|
||||||
install(TARGETS StupidAI DESTINATION ${AI_LIB_DIR})
|
install(TARGETS StupidAI RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -19,5 +19,5 @@ set_target_properties(VCAI PROPERTIES ${PCH_PROPERTIES})
|
|||||||
cotire(VCAI)
|
cotire(VCAI)
|
||||||
|
|
||||||
if (NOT APPLE) # Already inside vcmiclient bundle
|
if (NOT APPLE) # Already inside vcmiclient bundle
|
||||||
install(TARGETS VCAI DESTINATION ${AI_LIB_DIR})
|
install(TARGETS VCAI RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
@ -143,5 +143,5 @@ set_target_properties(vcmi PROPERTIES ${PCH_PROPERTIES})
|
|||||||
cotire(vcmi)
|
cotire(vcmi)
|
||||||
|
|
||||||
if (NOT APPLE) # Already inside vcmiclient bundle
|
if (NOT APPLE) # Already inside vcmiclient bundle
|
||||||
install(TARGETS vcmi DESTINATION ${LIB_DIR})
|
install(TARGETS vcmi RUNTIME DESTINATION ${LIB_DIR} LIBRARY DESTINATION ${LIB_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
@ -16,5 +16,5 @@ set_target_properties(minizip PROPERTIES XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME "
|
|||||||
target_link_libraries(minizip ${ZLIB_LIBRARIES})
|
target_link_libraries(minizip ${ZLIB_LIBRARIES})
|
||||||
|
|
||||||
if (NOT APPLE) # Already inside vcmiclient bundle
|
if (NOT APPLE) # Already inside vcmiclient bundle
|
||||||
install(TARGETS minizip DESTINATION ${LIB_DIR})
|
install(TARGETS minizip RUNTIME DESTINATION ${LIB_DIR} LIBRARY DESTINATION ${LIB_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user