Set default build type to release

pull/832/head
Piero Toffanin 2018-06-03 20:00:24 -04:00
rodzic 854d049828
commit c35386c26f
2 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.1)
project(ODM-SuperBuild)
if (NOT CMAKE_BUILD_TYPE)
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "Release")
endif()
# Setup SuperBuild root location
set(SB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR})

Wyświetl plik

@ -1,3 +1,8 @@
if (NOT CMAKE_BUILD_TYPE)
message(STATUS "No build type selected, default to Release")
set(CMAKE_BUILD_TYPE "Release")
endif()
# Add ODM sub-modules
add_subdirectory(odm_extract_utm)
add_subdirectory(odm_georef)