mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-23 09:49:42 +00:00
Fix setting the default build type.
This commit is contained in:
parent
5e0765975c
commit
a23a8d134e
@ -1,5 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
project(FORMAT)
|
||||
|
||||
# Set the default CMAKE_BUILD_TYPE to Release.
|
||||
# This should be done before the project command since the latter can set
|
||||
@ -9,6 +8,8 @@ if (NOT CMAKE_BUILD_TYPE)
|
||||
"Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.")
|
||||
endif ()
|
||||
|
||||
project(FORMAT)
|
||||
|
||||
add_library(format format.cc)
|
||||
|
||||
# We compile Google Test ourselves instead of using pre-compiled libraries.
|
||||
|
Loading…
Reference in New Issue
Block a user