Browse Source

fix: add cmake_policy to CMakeLists.txt (#613)

Use the cmake_policy() command to set CMP0054 to NEW explicitly.
pull/622/head
SuperHuan 3 years ago
committed by GitHub
parent
commit
189dcde644
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CMakeLists.txt

1
CMakeLists.txt

@ -2,6 +2,7 @@ set(CMAKE_LEGACY_CYGWIN_WIN32 0)
cmake_minimum_required(VERSION 2.8.5)
project(cJSON C)
cmake_policy(SET CMP0054 NEW) # CMP0054
include(GNUInstallDirs)

Loading…
Cancel
Save