Blob Blame History Raw
Index: oiio-2.3.7.2/CMakeLists.txt
===================================================================
--- oiio-2.3.7.2.orig/CMakeLists.txt
+++ oiio-2.3.7.2/CMakeLists.txt
@@ -132,17 +132,6 @@ include (pythonutils)
 # Dependency finding utilities and all dependency-related options
 include (externalpackages)
 
-# Include all our testing apparatus and utils, but not if it's a subproject
-if (NOT ${PROJECT_NAME}_IS_SUBPROJECT)
-    include (testing)
-else ()
-    macro (oiio_add_tests)
-    endmacro ()
-    macro (oiio_add_all_tests)
-    endmacro ()
-endif ()
-
-
 include_directories (
     BEFORE
     "${CMAKE_SOURCE_DIR}/src/include"
@@ -283,10 +272,5 @@ install (EXPORT OIIO_EXPORTED_TARGETS
 
 
 if (NOT ${PROJECT_NAME}_IS_SUBPROJECT)
-    oiio_setup_test_data()
-    oiio_add_all_tests()
-endif ()
-
-if (NOT ${PROJECT_NAME}_IS_SUBPROJECT)
     include (packaging)
 endif ()