summarylogtreecommitdiffstats
path: root/osgearth_optional_fastdxt.patch
blob: 730bfdef43cfbb01c0a7a4c75efa8443c2b1dd15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/osgEarthDrivers/CMakeLists.txt
+++ b/src/osgEarthDrivers/CMakeLists.txt
@@ -34,7 +34,10 @@
 # now requires C++20
 #add_subdirectory(cache_rocksdb)
 
+OPTION(DISABLE_FASTDXT "Disale fastdxt build" OFF)
 if(NOT APPLE AND NOT ANDROID)
-    add_subdirectory(fastdxt)
+    if(NOT DISABLE_FASTDXT)
+        add_subdirectory(fastdxt)
+    endif()
     add_subdirectory(lerc)
 endif()