aboutsummaryrefslogtreecommitdiff
path: root/ports/graphite2/disable-tests.patch
blob: d88c1cee5f396a018646d23404117073ea8ec570 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a4c648e..db90735 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -80,11 +80,13 @@ if (BUILD_SHARED_LIBS)
 endif (BUILD_SHARED_LIBS)
 
 add_subdirectory(src)
+if(NOT DISABLE_TESTS)
 add_subdirectory(tests)
 add_subdirectory(doc)
 if (NOT GRAPHITE2_NFILEFACE)
     add_subdirectory(gr2fonttest)
 endif (NOT GRAPHITE2_NFILEFACE)
+endif()
 
 set(version 3.0.1)
 set(libdir ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})