aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Chiasson <mchiasson@gmail.com>2019-05-18 19:44:18 -0400
committerGitHub <noreply@github.com>2019-05-18 19:44:18 -0400
commited8674d2287705699a4720a5482adb9816acc413 (patch)
tree05a364bb4244454df0b87a536ffa44635fe0adce
parentf7b06c27708fc04d5edc9c5a30027c70eade680a (diff)
downloadspirv-headers-ed8674d2287705699a4720a5482adb9816acc413.tar.gz
Update CMakeLists.txt
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b7c121a..5fd0196 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,7 +29,7 @@
# https://www.khronos.org/registry/spir-v/
#
cmake_minimum_required(VERSION 3.0)
-project(SPIRV-Headers)
+project(SPIRV-Headers VERSION 1.4.1)
# There are two ways to use this project.
#
@@ -67,7 +67,7 @@ target_include_directories(${PROJECT_NAME} INTERFACE
# Installation
-set(config_install_dir "${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/cmake")
+set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated")
@@ -79,7 +79,6 @@ set(namespace "${PROJECT_NAME}::")
include(CMakePackageConfigHelpers)
write_basic_package_version_file(
"${version_config}"
- VERSION "1.4.1"
COMPATIBILITY SameMajorVersion
)