ref: 36119082d2d8fd7a81e5531df5f1438b8ffa548b
parent: 1d064204d5e8b019402d3824cf234dc8138c86eb
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat May 4 22:55:54 EDT 2019
Remove CMAKE_BUILD_TYPE defaulting It's annoying, but vcpkg *really* didn't agree with it (it would just build Debug anyway). The instructions provided with the repo already tell you to manually define Release builds anyway.
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,11 +9,6 @@
option(NONPORTABLE "Enable bits of code that aren't portable, but are what the original game used" OFF)
option(FORCE_LOCAL_LIBS "Compile the built-in versions of SDL2, FreeType, and FLTK instead of using the system-provided ones" OFF)
-# Default to Release build
-if(NOT CMAKE_BUILD_TYPE)
- set(CMAKE_BUILD_TYPE Release)
-endif()
-
project(CSE2 LANGUAGES C CXX)
if(MSVC)