From 676dc9362bfa659835d7941b807c1a2dd7474493 Mon Sep 17 00:00:00 2001 From: Toyosatomimi no Miko <110693261+mikomikotaishi@users.noreply.github.com> Date: Mon, 2 Jun 2025 14:35:23 -0400 Subject: [PATCH] Use CMAKE_CURRENT_BINARY_DIR Signed-off-by: Toyosatomimi no Miko <110693261+mikomikotaishi@users.noreply.github.com> --- tests/module_cpp20/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/module_cpp20/CMakeLists.txt b/tests/module_cpp20/CMakeLists.txt index c628bdb5c..b6d395aaa 100644 --- a/tests/module_cpp20/CMakeLists.txt +++ b/tests/module_cpp20/CMakeLists.txt @@ -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