From 39a104701530d3814390f58da8ef6dc0cb33b46a Mon Sep 17 00:00:00 2001 From: Edgar Date: Sun, 24 Sep 2023 12:54:08 +0200 Subject: [PATCH] :bug: Fixed nvidia-texture-tools build settings --- conan-recipes/nvidia-texture-tools/all/conanfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conan-recipes/nvidia-texture-tools/all/conanfile.py b/conan-recipes/nvidia-texture-tools/all/conanfile.py index 23fbc8124f..9bf5ab6282 100644 --- a/conan-recipes/nvidia-texture-tools/all/conanfile.py +++ b/conan-recipes/nvidia-texture-tools/all/conanfile.py @@ -19,6 +19,10 @@ class NTTConan(ConanFile): def generate(self): tc = CMakeToolchain(self) tc.variables["BUILD_TESTS"] = "OFF" + tc.variables["BUILD_TOOLS"] = "OFF" + tc.variables["USE_CUDA"] = "OFF" + if self.settings.os == "Linux": + tc.variables["CMAKE_CXX_FLAGS"] = "-march=msse3 -fPIC" tc.generate() def build(self):