From 63a89bae0eb4da861863193c17ce35c56df28b31 Mon Sep 17 00:00:00 2001 From: Alexey Prokhin Date: Tue, 6 Mar 2012 12:20:18 +0400 Subject: [PATCH] CMake: DMD frontend version should not be stored to cache --- runtime/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 4e212e04..45e665a8 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -18,9 +18,10 @@ else() set(MULTILIB_SUFFIX 64) endif() -set(DMDFE_MINOR_VERSION 0 CACHE INT "Minor version of dmd frontend") -set(DMDFE_PATCH_VERSION 58 CACHE INT "Patch version of dmd frontend") -set(DMDFE_VERSION ${D_VERSION}.${DMDFE_MINOR_VERSION}.${DMDFE_PATCH_VERSION} CACHE INT "Version of dmd frontend") +set(DMDFE_MINOR_VERSION 0) +set(DMDFE_PATCH_VERSION 58) +set(DMDFE_VERSION ${D_VERSION}.${DMDFE_MINOR_VERSION}.${DMDFE_PATCH_VERSION}) + set(MULTILIB OFF CACHE BOOL "Build both 64-bit and 32-bit libraries") set(BUILD_BC_LIBS OFF CACHE BOOL "Build the runtime as bytecode libraries") set(BUILD_SINGLE_LIB ON CACHE BOOL "Build single runtime library")