From 2747bce8fb902fcc080c5714201b67f3d74dd156 Mon Sep 17 00:00:00 2001 From: "Alexander V. Wolf" Date: Sun, 2 Jul 2023 17:17:25 +0700 Subject: [PATCH] Fix cmake --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d775524a00df6..3a7b4470f5239 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,7 @@ SET(STELLARIUM_MAJOR ${STELLARIUM_MAJOR_DIGIT}) SET(STELLARIUM_MINOR ${STELLARIUM_RELEASE_NUMBER}) IF(STELLARIUM_RELEASE_BUILD) ADD_DEFINITIONS(-DSTELLARIUM_RELEASE_BUILD) + SET(CMAKE_BUILD_TYPE Release) SET(STELLARIUM_PATCH 0) ELSE() ########### Get revision number for non-release builds ###########