From d9028e9d702f78d7ff6f9e8fdbb0d1c83957f6a3 Mon Sep 17 00:00:00 2001 From: Horst Schirmeier Date: Tue, 13 Jan 2015 14:48:22 +0100 Subject: [PATCH] CMake: Fail* version number handling fixed The project version number is now not user-editable anymore, and custom values get overwritten by force. Without this change, CMakeCache.txt stays at the version number it was first instantiated from. Change-Id: If9ad1549937dad98db9a0f0eda16ef752e7d74aa --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61effeb2..2e564887 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ ENABLE_TESTING() PROJECT(Fail*) -set(PROJECT_VERSION "1.0.1" CACHE STRING "Fail* version number") +set(PROJECT_VERSION "1.0.1" CACHE INTERNAL "Fail* version number" FORCE) #### Put all resulting library files in /lib #### SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)