summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index e3da6ad..78e2f9e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,7 +22,7 @@ addons:
update: true
script:
- - cmake --build . --config Debug --target check
+ - cmake --build . --target check
matrix:
include:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 49b50a1..b341901 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -297,7 +297,7 @@ if (BUILD_RDIFF)
else (BUILD_RDIFF)
set(LAST_TARGET rsync)
endif (BUILD_RDIFF)
-add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND})
+add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} -C Debug)
add_dependencies(check ${LAST_TARGET}
isprefix_test
netint_test