diff --git a/libclammspack/CMakeLists.txt b/libclammspack/CMakeLists.txt index 31d57b4fa9..e09b0cfb56 100644 --- a/libclammspack/CMakeLists.txt +++ b/libclammspack/CMakeLists.txt @@ -105,7 +105,6 @@ if(ENABLE_STATIC_LIB) if(WIN32) install(TARGETS clammspack_static DESTINATION . COMPONENT libraries) - install(FILES $ DESTINATION . OPTIONAL COMPONENT libraries) else() install(TARGETS clammspack_static DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries) endif() diff --git a/libclamunrar/CMakeLists.txt b/libclamunrar/CMakeLists.txt index 5b0cb1401d..97eb4ccc95 100644 --- a/libclamunrar/CMakeLists.txt +++ b/libclamunrar/CMakeLists.txt @@ -135,7 +135,6 @@ if(ENABLE_STATIC_LIB) if(WIN32) install(TARGETS clamunrar_static DESTINATION . COMPONENT libraries) - install(FILES $ DESTINATION . OPTIONAL COMPONENT libraries) else() install(TARGETS clamunrar_static DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries) endif() diff --git a/libclamunrar_iface/CMakeLists.txt b/libclamunrar_iface/CMakeLists.txt index 3ab3cfee55..8a55692919 100644 --- a/libclamunrar_iface/CMakeLists.txt +++ b/libclamunrar_iface/CMakeLists.txt @@ -111,7 +111,6 @@ if(ENABLE_UNRAR) if(WIN32) install(TARGETS clamunrar_iface_static DESTINATION . COMPONENT libraries) - install( FILES $ DESTINATION . OPTIONAL COMPONENT libraries ) else() install(TARGETS clamunrar_iface_static DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries) endif()