mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 10:23:17 +00:00
Set UnRAR interface library to build using C++11
Because it includes rar.hpp, the UnRAR iface also uses C++11 features.
This commit is contained in:
parent
0d5231f539
commit
349119aa1e
2 changed files with 9 additions and 4 deletions
|
@ -68,7 +68,7 @@ endif()
|
|||
if(ENABLE_SHARED_LIB)
|
||||
# The unrar shared library.
|
||||
add_library( clamunrar SHARED )
|
||||
set_target_properties(clamunrar PROPERTIES
|
||||
set_target_properties( clamunrar PROPERTIES
|
||||
VERSION ${LIBCLAMAV_VERSION}
|
||||
SOVERSION ${LIBCLAMAV_SOVERSION}
|
||||
CXX_STANDARD 11
|
||||
|
@ -115,7 +115,7 @@ endif()
|
|||
if(ENABLE_STATIC_LIB)
|
||||
# The clamunrar static library.
|
||||
add_library( clamunrar_static STATIC)
|
||||
set_target_properties(clamunrar_static PROPERTIES
|
||||
set_target_properties( clamunrar_static PROPERTIES
|
||||
CXX_STANDARD 11
|
||||
)
|
||||
target_sources( clamunrar_static
|
||||
|
|
|
@ -34,9 +34,11 @@ if(ENABLE_UNRAR)
|
|||
if(ENABLE_SHARED_LIB)
|
||||
# The clamunrar_iface SHARED library.
|
||||
add_library( clamunrar_iface SHARED )
|
||||
set_target_properties(clamunrar_iface PROPERTIES
|
||||
set_target_properties( clamunrar_iface PROPERTIES
|
||||
VERSION ${LIBCLAMAV_VERSION}
|
||||
SOVERSION ${LIBCLAMAV_SOVERSION})
|
||||
SOVERSION ${LIBCLAMAV_SOVERSION}
|
||||
CXX_STANDARD 11
|
||||
)
|
||||
|
||||
target_sources( clamunrar_iface
|
||||
PRIVATE
|
||||
|
@ -86,6 +88,9 @@ if(ENABLE_UNRAR)
|
|||
if(ENABLE_STATIC_LIB)
|
||||
# The clamunrar_iface static library.
|
||||
add_library( clamunrar_iface_static STATIC)
|
||||
set_target_properties( clamunrar_iface_static PROPERTIES
|
||||
CXX_STANDARD 11
|
||||
)
|
||||
|
||||
target_sources( clamunrar_iface_static
|
||||
PRIVATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue