aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt13
1 files changed, 3 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f9bfb4a3..a0f4eb23 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,18 +13,11 @@
# limitations under the License.
cmake_minimum_required(VERSION 3.17.2)
-if (POLICY CMP0048)
- cmake_policy(SET CMP0048 NEW)
-endif()
-if (POLICY CMP0054)
- # Avoid dereferencing variables or interpret keywords that have been
- # quoted or bracketed.
- # https://cmake.org/cmake/help/v3.1/policy/CMP0054.html
- cmake_policy(SET CMP0054 NEW)
-endif()
-set_property(GLOBAL PROPERTY USE_FOLDERS ON)
project(spirv-tools)
+
+set_property(GLOBAL PROPERTY USE_FOLDERS ON)
+
enable_testing()
set(SPIRV_TOOLS "SPIRV-Tools")