mirror of
https://github.com/simon987/sist2.git
synced 2025-12-13 15:29:04 +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
|
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(
|
||||||
|
|||||||
Reference in New Issue
Block a user