mirror of
https://github.com/boostorg/json.git
synced 2026-01-19 04:12:14 +00:00
fix wrong CMake command for MSVC
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user