updated on Sat Jan 21 12:00:39 UTC 2012
[aur-mirror.git] / unity / make-tests-optional.patch
blob2c9f3a7d0ad4bd5af33ddbf0ff2d173f6a3d03c4
1 diff -Naur unity-5.0.0.orig/CMakeLists.txt unity-5.0.0/CMakeLists.txt
2 --- unity-5.0.0.orig/CMakeLists.txt 2012-01-15 10:01:44.000000000 +0100
3 +++ unity-5.0.0/CMakeLists.txt 2012-01-15 10:02:54.850817158 +0100
4 @@ -130,12 +130,16 @@
5 # subdirs
6 add_subdirectory(doc)
7 add_subdirectory(services)
8 -add_subdirectory(tests)
9 add_subdirectory(tools)
10 add_subdirectory(UnityCore)
11 add_subdirectory(guides)
12 add_subdirectory(standalone-clients EXCLUDE_FROM_ALL)
14 +option( BUILD_TESTS "build tests" ON )
15 +if (BUILD_TESTS)
16 + add_subdirectory(tests)
17 +endif (BUILD_TESTS)
20 # GSettings Schema