diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 537f20b4..4461ce0d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -3,7 +3,7 @@ macro (build_and_run arg) # Add headers to sources to enable file browsing in IDEs include_directories("${CMAKE_BINARY_DIR}/tests") add_executable("${arg}" "${arg}.cpp" ${sqlpp_headers} "${CMAKE_CURRENT_LIST_DIR}/Sample.h") - add_test("${arg}" "${arg}") + add_test("${arg}" "${CMAKE_BINARY_DIR}/tests/${arg}") endmacro () build_and_run(BooleanExpressionTest)