summaryrefslogtreecommitdiff
path: root/pcre
diff options
context:
space:
mode:
Diffstat (limited to 'pcre')
-rw-r--r--pcre/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre/CMakeLists.txt b/pcre/CMakeLists.txt
index ca60d9ed265..857a96b9ef9 100644
--- a/pcre/CMakeLists.txt
+++ b/pcre/CMakeLists.txt
@@ -377,7 +377,7 @@ MESSAGE(\" \")
IF(UNIX)
ADD_TEST(NAME pcre_test
- COMMAND sh pcre_test.sh
+ COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/pcre_test.sh
${PROJECT_SOURCE_DIR}
$<TARGET_FILE:pcretest>
$<TARGET_FILE_DIR:pcretest>
@@ -387,7 +387,7 @@ MESSAGE(\" \")
IF(PCRE_BUILD_PCREGREP)
IF(UNIX)
ADD_TEST(NAME pcre_grep_test
- COMMAND sh pcre_grep_test.sh
+ COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/pcre_grep_test.sh
${PROJECT_SOURCE_DIR}
$<TARGET_FILE:pcregrep>
$<TARGET_FILE:pcretest>