1 parent
da6b908c4f
commit
233d233439
6 files changed
+24
-18
No files matched your search
@@ -6,6 +6,15 @@ option(JSON_FastTests "Skip expensive/slow tests." OFF)
|
||||
set(JSON_32bitTest AUTO CACHE STRING "Enable the 32bit unit test (ON/OFF/AUTO/ONLY).")
|
||||
set(JSON_TestStandards "" CACHE STRING "The list of standards to test explicitly.")
|
||||
|
||||
# using an env var, since this will also affect targets executing cmake (such as "ci_test_compiler_default")
|
||||
set(JSON_FORCED_GLOBAL_COMPILE_OPTIONS $ENV{JSON_FORCED_GLOBAL_COMPILE_OPTIONS})
|
||||
if (NOT "" STREQUAL "$ENV{JSON_FORCED_GLOBAL_COMPILE_OPTIONS}")
|
||||
add_compile_options($ENV{JSON_FORCED_GLOBAL_COMPILE_OPTIONS})
|
||||
endif()
|
||||
if (NOT "" STREQUAL "$ENV{JSON_FORCED_GLOBAL_LINK_OPTIONS}")
|
||||
add_link_options($ENV{JSON_FORCED_GLOBAL_LINK_OPTIONS})
|
||||
endif()
|
||||
|
||||
include(test)
|
||||
|
||||
#############################################################################
|
||||
|
||||
Reference in new issue
Block a user