[rttr] Disable unit tests during build. Not bumping version because the output files are unaffected.

This commit is contained in:
Robert Schumacher 2017-10-26 18:33:17 -07:00
parent 0028cbc23f
commit 286625e09e
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b9fd698..bcaebfe 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -31,7 +31,9 @@
#############################################
add_subdirectory (rttr)
+if(UNIT_TESTS)
add_subdirectory (unit_tests)
+endif()
if (${BUILD_BENCHMARKS})
add_subdirectory (benchmarks)

View File

@ -14,7 +14,9 @@ vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_apply_patches(
SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/rttr-0.9.5-src
PATCHES "${CMAKE_CURRENT_LIST_DIR}/fix-directory-output.patch"
PATCHES
"${CMAKE_CURRENT_LIST_DIR}/fix-directory-output.patch"
"${CMAKE_CURRENT_LIST_DIR}/disable-unit-tests.patch"
)
vcpkg_configure_cmake(