mirror of
https://github.com/simon987/sist2.git
synced 2025-12-10 22:18:54 +00:00
Fix antiword build
This commit is contained in:
10
third-party/libscan/CMakeLists.txt
vendored
10
third-party/libscan/CMakeLists.txt
vendored
@@ -11,11 +11,6 @@ if (SIST_DEBUG)
|
||||
antiword
|
||||
DEBUG
|
||||
)
|
||||
else()
|
||||
add_compile_definitions(
|
||||
antiword
|
||||
NDEBUG
|
||||
)
|
||||
target_compile_options(
|
||||
antiword
|
||||
PRIVATE
|
||||
@@ -25,6 +20,11 @@ else()
|
||||
-fsanitize=address
|
||||
-fno-inline
|
||||
)
|
||||
else()
|
||||
add_compile_definitions(
|
||||
antiword
|
||||
NDEBUG
|
||||
)
|
||||
endif()
|
||||
|
||||
add_library(
|
||||
|
||||
Reference in New Issue
Block a user