summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorbsegovia <devnull@localhost>2011-11-29 02:02:51 +0000
committerKeith Packard <keithp@keithp.com>2012-08-10 16:15:03 -0700
commit3c7acb14133bd75238ee73bb85f64789f8740864 (patch)
tree125be12b5a52a1e0a96576c8fda79273b6367718 /CMakeLists.txt
parent02a583ba1c82fcb2d20df5f5387a94ae3b3471f1 (diff)
Silent GCC warnings in release mode
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 821adcd4..07ed3b99 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,10 @@ SET(EMULATE_IVB CACHE BOOL "false")
SET(EMULATE_SNB CACHE BOOL "false")
ADD_DEFINITIONS(-D__$(USER)__)
-IF (EMULATE_IVB)
+IF (EMULATE_HSW)
+ SET (USE_FULSIM "true")
+ ADD_DEFINITIONS(-DEMULATE_GEN=75)
+ELSEIF (EMULATE_IVB)
SET (USE_FULSIM "true")
ADD_DEFINITIONS(-DEMULATE_GEN=7)
ELSEIF (EMULATE_SNB)
@@ -27,7 +30,7 @@ ELSEIF (EMULATE_SNB)
ELSE (EMULATE_IVB)
SET (USE_FULSIM "false")
ADD_DEFINITIONS(-DEMULATE_GEN=0)
-ENDIF (EMULATE_IVB)
+ENDIF (EMULATE_HSW)
IF (USE_FULSIM)
ADD_DEFINITIONS(-DUSE_FULSIM=1)