Use release configuration by default

This commit is contained in:
uyjulian 2019-09-01 17:01:25 -05:00
parent 48a41966fd
commit 28bc58ccd2
No known key found for this signature in database
GPG Key ID: FEA459A8CA14685B

View File

@ -1,6 +1,11 @@
cmake_minimum_required(VERSION 3.0.0)
project(BasiliskII)
if (NOT EXISTS ${CMAKE_BINARY_DIR}/CMakeCache.txt)
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "" FORCE)
endif()
endif()
find_package(SDL2 REQUIRED)
find_library(COREFOUNDATION_LIBRARY CoreFoundation)