aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-14 17:00:19 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-10-14 17:00:19 -0600
commitca7d99a2fdf83b221be1d3f1528485665a065f52 (patch)
tree90741af98113be16dd693d6f7d09bd4a2b934d23
parentd0a61ab80cf836cba38c3bb508d2d51027a1be7c (diff)
downloadusermoji-ca7d99a2fdf83b221be1d3f1528485665a065f52.tar.xz
cmake: Fix options for building on Windows
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5c627e0d..14f32733 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,11 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
endif()
option(BUILD_LOADER "Build loader" ON)
-option(BUILD_ICD "Build LunarG intel icd" ON)
+if(WIN32)
+ option(BUILD_ICD "Build LunarG intel icd" OFF)
+else()
+ option(BUILD_ICD "Build LunarG intel icd" ON)
+endif()
option(BUILD_TESTS "Build tests" ON)
option(BUILD_LAYERS "Build layers" ON)
option(BUILD_DEMOS "Build demos" ON)