mirror of
https://github.com/nlohmann/json.git
synced 2025-06-08 00:22:37 +08:00
Use CMAKE_CURRENT_BINARY_DIR
Signed-off-by: Toyosatomimi no Miko <110693261+mikomikotaishi@users.noreply.github.com>
This commit is contained in:
parent
a301ef62af
commit
676dc9362b
@ -4,7 +4,7 @@ project(json_test CXX)
|
||||
|
||||
set(NLOHMANN_JSON_BUILD_MODULES ON CACHE BOOL "Enable nlohmann.json module support")
|
||||
|
||||
add_subdirectory(${CMAKE_SOURCE_DIR}/../.. ${CMAKE_BINARY_DIR}/tests)
|
||||
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../.. ${CMAKE_CURRENT_BINARY_DIR}/tests)
|
||||
|
||||
add_executable(json_test main.cpp)
|
||||
target_link_libraries(json_test
|
||||
|
Loading…
Reference in New Issue
Block a user