fix: rng_test 添加 nlohmann_json 链接库,解决 json.hpp 找不到
This commit is contained in:
parent
5f5e64a57f
commit
0accc6d2b0
@ -75,6 +75,10 @@ target_include_directories(rng_test PUBLIC
|
||||
${my_lib_include}
|
||||
)
|
||||
|
||||
target_link_libraries(rng_test
|
||||
nlohmann_json::nlohmann_json
|
||||
)
|
||||
|
||||
set_target_properties(rng_test PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/test)
|
||||
|
||||
enable_testing()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user