Quellcode durchsuchen

cmake: Move HAS_NCE to root cmake

* So we can use it in common
GPUCode vor 2 Jahren
Ursprung
Commit
340548aba7
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/common/host_memory.cpp

+ 1 - 1
src/common/host_memory.cpp

@@ -541,7 +541,7 @@ public:
         if (write) {
             flags |= PROT_WRITE;
         }
-#ifdef ARCHITECTURE_arm64
+#ifdef HAS_NCE
         if (execute) {
             flags |= PROT_EXEC;
         }