Skip to content

Commit

Permalink
Fix tests compile path
Browse files Browse the repository at this point in the history
  • Loading branch information
DominykasPetke committed Feb 14, 2024
1 parent 482a737 commit da698d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit da698d3

Please sign in to comment.