mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 15:09:01 +08:00
16 lines
428 B
Diff
16 lines
428 B
Diff
diff --git a/src/nvtt/CMakeLists.txt b/src/nvtt/CMakeLists.txt
|
|
index 9688c9c..42942c0 100644
|
|
--- a/src/nvtt/CMakeLists.txt
|
|
+++ b/src/nvtt/CMakeLists.txt
|
|
@@ -47,6 +47,10 @@ ADD_DEFINITIONS(-DNVTT_EXPORTS)
|
|
#ADD_DEFINITIONS(-DHAVE_RGETC)
|
|
#ADD_DEFINITIONS(-DHAVE_ETCPACK)
|
|
|
|
+if(APPLE)
|
|
+ add_compile_options(-mbmi2 -mfma)
|
|
+endif()
|
|
+
|
|
IF(NVTT_SHARED)
|
|
ADD_LIBRARY(nvtt SHARED ${NVTT_SRCS})
|
|
ELSE(NVTT_SHARED)
|