From 36119082d2d8fd7a81e5531df5f1438b8ffa548b Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sun, 5 May 2019 02:55:54 +0100 Subject: [PATCH] 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. --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fb2bf39..d89e18fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,11 +9,6 @@ option(FIX_BUGS "Fix certain bugs (see src/Bug Fixes.txt)" OFF) 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)