Skip to content

Commit 0f86f3e

Browse files
committed
release by default
1 parent af998eb commit 0f86f3e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ project(SBG)
44

55
set(CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/install)
66

7+
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
8+
message("The value of variable cmake is: ${CMAKE_BUILD_TYPE}")
9+
10+
711
# Set default build type to Release if not specified
812
if(NOT CMAKE_BUILD_TYPE)
913
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)

0 commit comments

Comments
 (0)