Skip to content

Commit bdb8640

Browse files
dos1SiegeLord
authored andcommitted
cmake: set CMP0072 policy to NEW (libOpenGL/libGLX preference over legacy libGL)
1 parent e454067 commit bdb8640

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ if(COMMAND cmake_policy)
2222
if(POLICY CMP0026)
2323
cmake_policy(SET CMP0026 NEW)
2424
endif()
25+
if(POLICY CMP0072)
26+
cmake_policy(SET CMP0072 NEW)
27+
endif()
2528
endif(COMMAND cmake_policy)
2629

2730
if(NOT CMAKE_BUILD_TYPE)

0 commit comments

Comments
 (0)