Commit 595474786b7ed4a5bb48df1b74ab537c0a02766b

Authored by Eugene Agafonov
Committed by David Gräff
1 parent 6a158019

Possible fix for https://github.com/OpenHantek/openhantek/issues/265 (#269)

CMake policy CMP0072 was introduced in CMake version 3.11

Replace with equivalent version for older CMake versions
Showing 1 changed file with 1 additions and 1 deletions
CMakeLists.txt
1 1 cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
2 2 project(OpenHantekProject)
3 3  
4   -cmake_policy(SET CMP0072 NEW)
  4 +set(OpenGL_GL_PREFERENCE GLVND)
5 5  
6 6 set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
7 7  
... ...