cmake: Use CMAKE_CURRENT_BINARY_DIR for tests files.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 24 Feb 2008 14:20:24 +0000 (14:20 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 24 Feb 2008 14:20:24 +0000 (14:20 +0000)
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt

index c5118ed..a4c1f97 100644 (file)
@@ -281,9 +281,9 @@ target_link_libraries(url        libvlc)
 target_link_libraries(utf8       libvlc)
 target_link_libraries(dictionary libvlc)
 
-add_test(testapi    ${EXECUTABLE_OUTPUT_PATH}/testapi)
-add_test(i18n_atof  ${EXECUTABLE_OUTPUT_PATH}/i18n_atof)
-add_test(url        ${EXECUTABLE_OUTPUT_PATH}/url)
-add_test(utf8       ${EXECUTABLE_OUTPUT_PATH}/utf8)
-add_test(dictionary ${EXECUTABLE_OUTPUT_PATH}/dictionary)
+add_test(testapi    ${CMAKE_CURRENT_BINARY_DIR}/testapi)
+add_test(i18n_atof  ${CMAKE_CURRENT_BINARY_DIR}/i18n_atof)
+add_test(url        ${CMAKE_CURRENT_BINARY_DIR}/url)
+add_test(utf8       ${CMAKE_CURRENT_BINARY_DIR}/utf8)
+add_test(dictionary ${CMAKE_CURRENT_BINARY_DIR}/dictionary)