mirror of
				https://github.com/eledio-devices/thirdparty-miniz.git
				synced 2025-10-31 16:14:16 +01:00 
			
		
		
		
	Fixed CMAKE_BUILD_TYPE default value
This commit is contained in:
		| @@ -1,7 +1,12 @@ | |||||||
| PROJECT(miniz) | PROJECT(miniz) | ||||||
| cmake_minimum_required(VERSION 2.8) | cmake_minimum_required(VERSION 2.8) | ||||||
| set(CMAKE_BUILD_TYPE Release) | if(CMAKE_BUILD_TYPE STREQUAL "") | ||||||
| set(CMAKE_CONFIGURATION_TYPES Release Debug) |   # CMake defaults to leaving CMAKE_BUILD_TYPE empty. This screws up | ||||||
|  |   # differentiation between debug and release builds. | ||||||
|  |   set(CMAKE_BUILD_TYPE "Release" CACHE STRING | ||||||
|  |     "Choose the type of build, options are: None (CMAKE_CXX_FLAGS or \ | ||||||
|  | CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel." FORCE) | ||||||
|  | endif () | ||||||
|  |  | ||||||
| set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin) | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user