Browse Source

require cmake 3.0 for list append

tags/20190611
nihui 7 years ago
parent
commit
469e274150
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt View File

@@ -11,7 +11,7 @@ set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Installation
endif()
message(STATUS "CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}")

cmake_minimum_required(VERSION 2.8.10)
cmake_minimum_required(VERSION 3.0)

if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE release CACHE STRING "Choose the type of build" FORCE)


Loading…
Cancel
Save