Skip to content

Commit

Permalink
CMake: update policy to 3.11.
Browse files Browse the repository at this point in the history
In particular this enables linking with GLVND on Linux by default.
  • Loading branch information
whitequark committed Nov 26, 2019
1 parent 07992ce commit 22525e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -8,7 +8,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
endif()

cmake_minimum_required(VERSION 3.2.0 FATAL_ERROR)
cmake_policy(VERSION 3.2.0)
cmake_policy(VERSION 3.11)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
"${CMAKE_SOURCE_DIR}/cmake/")
set(CMAKE_CXX_STANDARD 11)
Expand Down

0 comments on commit 22525e6

Please sign in to comment.