cmake_policy_fix.patch 535 B

1234567891011121314
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index ce1fdd2..7e6ce3e 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -21,7 +21,8 @@
  6. # https://cmake.org/cmake/help/v3.12/module/CMakeDependentOption.html?highlight=cmakedependentoption
  7. # cmake 3.12 have more better modern c++ support
  8. -cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
  9. +cmake_minimum_required(VERSION 3.15 FATAL_ERROR)
  10. +cmake_policy(SET CMP0091 NEW)
  11. project(nana VERSION 1.7.3
  12. DESCRIPTION "C++ GUI library"
  13. HOMEPAGE_URL http://nanapro.org