Skip to content

Commit d814acd

Browse files
Fix installation errors of shared library. (#95)
1 parent 3692af0 commit d814acd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ source_group("Public API"
144144
install(TARGETS trantor
145145
# IMPORTANT: Add the trantor library to the "export-set"
146146
EXPORT TrantorTargets
147-
ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" COMPONENT lib)
147+
ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" COMPONENT lib
148+
LIBRARY DESTINATION "${INSTALL_LIB_DIR}" COMPONENT lib)
148149

149150
install(FILES ${public_net_headers}
150151
DESTINATION ${INSTALL_INCLUDE_DIR}/trantor/net)

0 commit comments

Comments
 (0)