aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2023-01-16 08:52:31 -0700
committerGitHub <noreply@github.com>2023-01-16 10:52:31 -0500
commitae893db200e5beb569cfa9fe297319341cb0a27e (patch)
tree014c9455d4f98a58e355c269d074c71b257dba8b
parentae8d50709fc88cbe66bd42800a4d84f4beb16ae5 (diff)
downloadspirv-tools-ae893db200e5beb569cfa9fe297319341cb0a27e.tar.gz
cmake: Remove old policy code (#5055)
-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")