mirror of
https://github.com/simon987/sist2.git
synced 2025-04-16 08:56:45 +00:00
Fix antiword build
This commit is contained in:
parent
329afcbe4f
commit
e89964d592
10
third-party/libscan/CMakeLists.txt
vendored
10
third-party/libscan/CMakeLists.txt
vendored
@ -11,11 +11,6 @@ if (SIST_DEBUG)
|
|||||||
antiword
|
antiword
|
||||||
DEBUG
|
DEBUG
|
||||||
)
|
)
|
||||||
else()
|
|
||||||
add_compile_definitions(
|
|
||||||
antiword
|
|
||||||
NDEBUG
|
|
||||||
)
|
|
||||||
target_compile_options(
|
target_compile_options(
|
||||||
antiword
|
antiword
|
||||||
PRIVATE
|
PRIVATE
|
||||||
@ -25,6 +20,11 @@ else()
|
|||||||
-fsanitize=address
|
-fsanitize=address
|
||||||
-fno-inline
|
-fno-inline
|
||||||
)
|
)
|
||||||
|
else()
|
||||||
|
add_compile_definitions(
|
||||||
|
antiword
|
||||||
|
NDEBUG
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(
|
add_library(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user