1 --- clamav-1.1.0/libfreshclam/CMakeLists.txt 2023-04-28 22:54:01.000000000 +0200
2 +++ clamav-1.1.0/libfreshclam/CMakeLists.txt.new 2023-05-03 21:16:52.477856750 +0200
8 - set_target_properties(freshclam PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
9 - elseif(UNIX AND NOT APPLE)
10 - target_link_options(freshclam PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libfreshclam.map")
13 +# set_target_properties(freshclam PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
14 +# elseif(UNIX AND NOT APPLE)
15 +# target_link_options(freshclam PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libfreshclam.map")
17 set_target_properties(freshclam PROPERTIES
18 COMPILE_FLAGS "${WARNCFLAGS}"
19 VERSION ${LIBFRESHCLAM_VERSION} SOVERSION ${LIBFRESHCLAM_SOVERSION})
20 --- clamav-1.1.0/libclamunrar_iface/CMakeLists.txt 2023-04-28 22:54:01.000000000 +0200
21 +++ clamav-1.1.0/libclamunrar_iface/CMakeLists.txt.new 2023-05-03 21:18:38.193681771 +0200
27 - set_target_properties(clamunrar_iface PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
28 - elseif(UNIX AND NOT APPLE)
29 - target_link_options(clamunrar_iface PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libclamunrar_iface.map")
32 +# set_target_properties(clamunrar_iface PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
33 +# elseif(UNIX AND NOT APPLE)
34 +# target_link_options(clamunrar_iface PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libclamunrar_iface.map")
37 # Private (internal-only) dependencies.
38 target_link_libraries( clamunrar_iface
39 --- clamav-1.1.0/libclamunrar/CMakeLists.txt 2023-04-28 22:54:01.000000000 +0200
40 +++ clamav-1.1.0/libclamunrar/CMakeLists.txt.new 2023-05-03 21:18:01.082163255 +0200
46 - set_target_properties(clamunrar PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
47 - elseif(UNIX AND NOT APPLE)
48 - target_link_options(clamunrar PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libclamunrar.map")
51 +# set_target_properties(clamunrar PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
52 +# elseif(UNIX AND NOT APPLE)
53 +# target_link_options(clamunrar PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libclamunrar.map")
57 install(TARGETS clamunrar DESTINATION . COMPONENT libraries)
58 --- clamav-1.1.0/libclamav/CMakeLists.txt 2023-04-28 22:54:01.000000000 +0200
59 +++ clamav-1.1.0/libclamav/CMakeLists.txt.new 2023-05-03 21:21:47.935900574 +0200
62 target_link_libraries( clamav PUBLIC Iconv::Iconv )
64 - if(UNIX AND NOT APPLE)
65 - target_link_options( clamav PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libclamav.map")
67 +# if(UNIX AND NOT APPLE)
68 +# target_link_options( clamav PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libclamav.map")
71 install( TARGETS clamav DESTINATION . COMPONENT libraries )
72 install( FILES $<TARGET_PDB_FILE:clamav> DESTINATION . OPTIONAL COMPONENT libraries )