mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
cmake min 3.9 -> 3.13 so LINK_LIBRARIES available in try_compile()
cmake: hardcode -fsanitize=address for MSVC 2019 cmake: non-MSVC simplify setting sanitize address, undefined test_code128: test_hibc_input: extra tests
This commit is contained in:
@ -19,15 +19,6 @@ if(ZINT_STATIC)
|
||||
add_library(zint-static STATIC ${zint_SRCS})
|
||||
endif()
|
||||
|
||||
if(SANITIZER_FLAGS)
|
||||
target_compile_options(zint PUBLIC ${SANITIZER_FLAGS})
|
||||
target_link_options(zint PUBLIC ${SANITIZER_FLAGS})
|
||||
if(ZINT_STATIC)
|
||||
target_compile_options(zint-static PUBLIC ${SANITIZER_FLAGS})
|
||||
target_link_options(zint-static PUBLIC ${SANITIZER_FLAGS})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
function(zint_target_link_libraries library)
|
||||
target_link_libraries(zint ${library})
|
||||
if(ZINT_STATIC)
|
||||
|
Reference in New Issue
Block a user