From cfe81bafe82a5a396ad7d82c16e3dc229bae2999 Mon Sep 17 00:00:00 2001 From: slothlife Date: Wed, 11 Feb 2015 21:46:00 -0600 Subject: [PATCH] Remove setting CMAKE_BUILD_TYPE to Debug Setting was causing single-target configurations (ninja, make) to incorrectly link vs debug runtimes on Windows. --- apps/opencs/CMakeLists.txt | 2 -- components/CMakeLists.txt | 1 - 2 files changed, 3 deletions(-) diff --git a/apps/opencs/CMakeLists.txt b/apps/opencs/CMakeLists.txt index 0b83feb45..b65aee4cf 100644 --- a/apps/opencs/CMakeLists.txt +++ b/apps/opencs/CMakeLists.txt @@ -4,8 +4,6 @@ set (OPENCS_SRC main.cpp opencs_units (. editor) -set (CMAKE_BUILD_TYPE DEBUG) - opencs_units (model/doc document operation saving documentmanager loader runner ) diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt index 6f8352ddb..a49e54dd3 100644 --- a/components/CMakeLists.txt +++ b/components/CMakeLists.txt @@ -1,5 +1,4 @@ project (Components) -set (CMAKE_BUILD_TYPE DEBUG) # Version file set (VERSION_HPP_IN ${CMAKE_CURRENT_SOURCE_DIR}/version/version.hpp.cmake)