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 ###########