Fix CMake policy warning

This commit is contained in:
Nadia Holmquist Pedersen 2019-05-04 19:59:09 +02:00
parent 75d5a0033e
commit b3c3d5f79d
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.10.2)
cmake_policy(VERSION 3.10.2)
if (POLICY CMP0076)
cmake_policy(SET CMP0076 NEW)
endif()
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})