Fix CMake policy warning
This commit is contained in:
parent
75d5a0033e
commit
b3c3d5f79d
|
@ -1,6 +1,9 @@
|
||||||
cmake_minimum_required(VERSION 3.10.2)
|
cmake_minimum_required(VERSION 3.10.2)
|
||||||
|
|
||||||
cmake_policy(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_CXX_STANDARD 11)
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||||
|
|
Loading…
Reference in New Issue