Merge pull request #1559 from Exiv2/fix_1558_cmake_build_type

fix_1558_cmake_build_type
This commit is contained in:
Robin Mills 2021-04-15 13:23:02 +01:00 committed by GitHub
commit 52b2855c49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,11 @@ project(exiv2 # use TWEAK to categorize the build
# 1.00.0.29 = RC2 Development
LANGUAGES CXX
)
if(NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE Release)
endif()
include(cmake/mainSetup.cmake REQUIRED)
# options and their default values