From 0d42cba7e4871d2f099fd93e757556a0502d6714 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 6 Jul 2016 12:24:32 +0200 Subject: cmake: add universally good build defaults These were in the mingw-w64 toolchain file but it's good to have them in general. --- cmake/mingw-w64.cmake | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cmake/mingw-w64.cmake') diff --git a/cmake/mingw-w64.cmake b/cmake/mingw-w64.cmake index 61bfa524..a6233514 100644 --- a/cmake/mingw-w64.cmake +++ b/cmake/mingw-w64.cmake @@ -110,8 +110,3 @@ endforeach() set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s" CACHE STRING "" FORCE) -set(CMAKE_BUILD_TYPE_INIT "RELEASE") - -if(NOT CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "" FORCE) -endif() -- cgit v1.2.3