early-access version 2853
This commit is contained in:
17
externals/vcpkg/ports/croncpp/no-test.patch
vendored
Executable file
17
externals/vcpkg/ports/croncpp/no-test.patch
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
|
||||
index a82e605..405f306 100644
|
||||
--- a/test/CMakeLists.txt
|
||||
+++ b/test/CMakeLists.txt
|
||||
@@ -1,3 +1,4 @@
|
||||
+if(BUILD_TESTS)
|
||||
cmake_minimum_required(VERSION 3.7.0)
|
||||
project(test_croncpp)
|
||||
|
||||
@@ -9,7 +10,6 @@ file(GLOB SOURCES "*.cpp" "include/*.cpp")
|
||||
|
||||
add_executable(test_croncpp ${SOURCES} ${headers})
|
||||
|
||||
-if(BUILD_TESTS)
|
||||
enable_testing()
|
||||
|
||||
add_test(NAME "test_croncpp" COMMAND "test_croncpp" "-r compact")
|
Reference in New Issue
Block a user