Skip to content

Commit

Permalink
[nana] Fix the version and language standard (microsoft#12543)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoebeHui authored and hellozee committed Sep 11, 2020
1 parent 87e2e6b commit 9075fd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ports/nana/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion ports/nana/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Source: nana
Version: 1.7.2-3
Version: 1.7.2
Port-Version: 4
Homepage: https:/cnjinhao/nana
Description: Cross-platform library for GUI programming in modern C++ style.
Build-Depends: libpng, libjpeg-turbo, freetype (!uwp&&!windows), fontconfig (!uwp&&!windows)

0 comments on commit 9075fd0

Please sign in to comment.