updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / unity / make-tests-optional.patch
blob19baebf0580eff4c68b23e0bc2f73e5e181bcbe9
1 diff -Naur unity-4.24.0.orig/CMakeLists.txt unity-4.24.0/CMakeLists.txt
2 --- unity-4.24.0.orig/CMakeLists.txt 2011-10-12 14:02:40.000000000 +0200
3 +++ unity-4.24.0/CMakeLists.txt 2011-11-26 06:25:07.839545754 +0100
4 @@ -4,7 +4,12 @@
6 include (cmake/Documentation.cmake)
8 -subdirs (doc services tests tools UnityCore guides)
9 +subdirs (doc services tools UnityCore guides)
11 +option( BUILD_TESTS "build tests" ON )
12 +if (BUILD_TESTS)
13 + add_subdirectory(tests)
14 +endif (BUILD_TESTS)
17 # Base bits