From da698d341b88ef4bf2463e44b96fa218ca291080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominykas=20Petkevi=C4=8Dius?= Date: Wed, 14 Feb 2024 15:58:27 +0200 Subject: [PATCH] Fix tests compile path --- src/tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 5e45e05e0..069efaec1 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -52,8 +52,8 @@ target_link_libraries( GTest::gmock_main ) -if (BINARY_OUTPUT_DIR) - set_target_properties(${LIME_TEST_SUITE_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${BINARY_OUTPUT_DIR}) +if (CMAKE_BINARY_DIR) + set_target_properties(${LIME_TEST_SUITE_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") endif() include(GoogleTest)