You need to sign in before continuing.

Commit 9d0ebc7701d9a66934bb95ac01db6c71df87dabb

Authored by Vasiliy Glazov
Committed by David Gräff
1 parent 57e0bebc

Set cmake policy CMP0072 to choose OpenGL module

If simultaneously available legacy GL library and GLVND library cmake should prefer the new one.
More info can be found by run 
cmake --help-policy CMP0072
Showing 1 changed file with 2 additions and 0 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)
  5 +
4 6 set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
5 7  
6 8 # Default build type
... ...