aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-07-31 13:43:48 +0800
committerGitHub <noreply@github.com>2020-07-30 22:43:48 -0700
commit6afa4d3a16a5dccaab43e9d60498f7fb13e7976c (patch)
treea7b88164773442849699776efc171eca736ffac2
parent7938ab75c157f221bf1ee6b3df2ed1b27728744c (diff)
downloadvcpkg-6afa4d3a16a5dccaab43e9d60498f7fb13e7976c.tar.gz
vcpkg-6afa4d3a16a5dccaab43e9d60498f7fb13e7976c.zip
[nana] Fix the version and language standard (#12543)
-rw-r--r--ports/nana/CMakeLists.txt4
-rw-r--r--ports/nana/CONTROL3
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/nana/CMakeLists.txt b/ports/nana/CMakeLists.txt
index 7cd9865dc..eca50614d 100644
--- a/ports/nana/CMakeLists.txt
+++ b/ports/nana/CMakeLists.txt
@@ -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)
diff --git a/ports/nana/CONTROL b/ports/nana/CONTROL
index c0abb1df0..d6c949498 100644
--- a/ports/nana/CONTROL
+++ b/ports/nana/CONTROL
@@ -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)