summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJuan Ramos <[email protected]>2022-11-03 10:13:36 -0600
committerJuan Ramos <[email protected]>2022-11-04 11:02:07 -0600
commit52b7c620a5403241aa62c0cd3388384245a8b094 (patch)
treeeb4c368fc0b19941694b86647da83dc3d32f4332
parentff03306bf986bbec56a1570b45646ca4dea9d46b (diff)
downloadVulkan-Headers-52b7c620a5403241aa62c0cd3388384245a8b094.tar.gz
Vulkan-Headers-52b7c620a5403241aa62c0cd3388384245a8b094.zip
build: Fix CMake warning
Currently GNUInstallDirs is complaining because no language has been enabled. This is fixed by enabling the C language.
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 472dec6..50b5d89 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,8 +20,7 @@
cmake_minimum_required(VERSION 3.10.2)
-# NONE = this project has no language toolchain requirement.
-project(Vulkan-Headers NONE)
+project(Vulkan-Headers LANGUAGES C)
# User-interface declarations ----------------------------------------------------------------------------------------------------
# This section contains variables that affect development GUIs (e.g. CMake GUI and IDEs), such as option(), folders, and variables