mirror of
https://github.com/boostorg/json.git
synced 2025-05-11 21:53:58 +00:00
fix wrong CMake command for MSVC
This commit is contained in:
parent
24cca5f47b
commit
105e74e46f
@ -54,7 +54,7 @@ endif()
|
||||
|
||||
function(boost_json_setup_properties target)
|
||||
if(MSVC)
|
||||
target_compile_features(${target} PRIVATE _SCL_SECURE_NO_WARNINGS)
|
||||
target_compile_definitions(${target} PRIVATE _SCL_SECURE_NO_WARNINGS)
|
||||
endif()
|
||||
target_compile_features(${target} PUBLIC cxx_constexpr)
|
||||
target_compile_definitions(${target} PUBLIC BOOST_JSON_NO_LIB=1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user