Add archive dir

This commit is contained in:
Václav Valíček 2020-05-18 13:26:05 +02:00
parent 4c0fc7228b
commit f2bf7cdbce

View File

@ -26,7 +26,8 @@ configure_file(test_static_library.pc.in test_static_library.pc @ONLY)
# export native cmake package # export native cmake package
install(TARGETS test_static_library EXPORT test_static_libraryConfig install(TARGETS test_static_library EXPORT test_static_libraryConfig
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
# export pkg-config package # export pkg-config package