Skip to content

Commit 85e49bb

Browse files
committed
Merge branch 'cmake' of https://github.com/jwinarske/flex into cmake
2 parents 8e60e2c + 0e59ff2 commit 85e49bb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
33
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_SOURCE_DIR}/cmake")
44

55
if(NOT CMAKE_BUILD_TYPE)
6-
set(CMAKE_BUILD_TYPE Relase)
6+
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: DEBUG, RELEASE, or MINSIZEREL." FORCE)
7+
message(STATUS "No build type specified, defaulting to Release.")
78
endif()
89

910
project(flex LANGUAGES C)

0 commit comments

Comments
 (0)