🐛 Fixed nvidia-texture-tools build settings

This commit is contained in:
Edgar 2023-09-24 12:54:08 +02:00
parent b7dc2b7e3f
commit 39a1047015
No known key found for this signature in database
GPG key ID: 3C2E1F2C1C353131

View file

@ -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):