[nana] Fix the version and language standard (#12543)

This commit is contained in:
Phoebe 2020-07-31 13:43:48 +08:00 committed by GitHub
parent 7938ab75c1
commit 6afa4d3a16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10.2 FATAL_ERROR)
project(nana VERSION 1.5.5 LANGUAGES CXX)
project(nana VERSION 1.7.2 LANGUAGES CXX)
option(NANA_ENABLE_PNG "Enable PNG support" OFF)
option(NANA_ENABLE_JPEG "Enable JPEG support" OFF)
@ -26,7 +26,7 @@ target_include_directories(nana PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
target_compile_features(nana PUBLIC cxx_std_14)
target_compile_features(nana PUBLIC cxx_std_17)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_link_libraries(nana PUBLIC c++experimental)

View File

@ -1,5 +1,6 @@
Source: nana
Version: 1.7.2-3
Version: 1.7.2
Port-Version: 4
Homepage: https://github.com/cnjinhao/nana
Description: Cross-platform library for GUI programming in modern C++ style.
Build-Depends: libpng, libjpeg-turbo, freetype (!uwp&&!windows), fontconfig (!uwp&&!windows)