mirror of
https://github.com/nlohmann/json.git
synced 2026-09-03 06:57:15 +00:00
📝 overwork project infrastructure
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
@@ -7,13 +7,9 @@ set(NLOHMANN_JSON_BUILD_MODULES ON CACHE BOOL "Enable nlohmann.json module suppo
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../.. ${CMAKE_CURRENT_BINARY_DIR}/tests)
|
||||
|
||||
add_executable(json_test main.cpp)
|
||||
target_link_libraries(json_test
|
||||
PRIVATE
|
||||
target_link_libraries(json_test
|
||||
PRIVATE
|
||||
nlohmann_json_modules
|
||||
)
|
||||
|
||||
target_compile_definitions(json_test
|
||||
PRIVATE NLOHMANN_JSON_BUILD_MODULES
|
||||
)
|
||||
|
||||
target_compile_features(json_test PUBLIC cxx_std_20)
|
||||
target_compile_features(json_test PRIVATE cxx_std_20)
|
||||
|
||||
Reference in New Issue
Block a user