Change-Id: Ie87b2d481a9e5442e1c146e4c75667b8127ed589
CMAKE_POLICY(SET CMP0048 NEW)
ENDIF()
-IF(POLICY CMP0069)
- CMAKE_POLICY(SET CMP0069 NEW)
-ENDIF()
-
IF(CMAKE_VERSION VERSION_LESS 3.0)
PROJECT(device-certificate-manager CXX C)
SET(PROJECT_VERSION "2.0")
INCLUDE(GNUInstallDirs)
-IF(NOT (CMAKE_VERSION VERSION_LESS 3.9))
- INCLUDE(CheckIPOSupported)
- check_ipo_supported(RESULT IPO_ALLOWED)
-ELSE()
- SET(IPO_ALLOWED YES)
-ENDIF()
-
find_package(Threads REQUIRED)
INCLUDE(cmake/CheckFrameworks.cmake)