windows-amd64-prebuilt-libr.../vcpkg/ports/osg/fix-nvtt.patch
2020-10-10 14:36:42 +02:00

15 lines
344 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a991670..5b530c5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -759,7 +759,9 @@ ELSE()
FIND_PACKAGE(RSVG)
FIND_PACKAGE(GtkGl)
FIND_PACKAGE(DirectInput)
+ if (ENABLE_NVTT)
FIND_PACKAGE(NVTT)
+ endif()
IF (NOT WIN32)
FIND_PACKAGE(Asio)
ENDIF()