Skip to content

Commit 5954747

Browse files
eagafonovDavid Gräff
authored andcommitted
Possible fix for #265 (#269)
CMake policy CMP0072 was introduced in CMake version 3.11 Replace with equivalent version for older CMake versions
1 parent 6a15801 commit 5954747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
22
project(OpenHantekProject)
33

4-
cmake_policy(SET CMP0072 NEW)
4+
set(OpenGL_GL_PREFERENCE GLVND)
55

66
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
77

0 commit comments

Comments
 (0)