mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 12:10:57 -06:00
Fix cmake 3.12 error: CMP0077 was not defined until 3.13.
This commit is contained in:
parent
76896827cd
commit
c8c32efba2
@ -6,7 +6,9 @@ project (ResInsight)
|
||||
set (VIZ_MODULES_FOLDER_NAME Fwk/VizFwk)
|
||||
|
||||
cmake_policy(SET CMP0020 NEW)
|
||||
cmake_policy(SET CMP0077 OLD)
|
||||
if (POLICY CMP0077)
|
||||
cmake_policy(SET CMP0077 OLD)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
option(RESINSIGHT_PREFER_LEGACY_OPENGL "Link with Legacy OpenGL libraries. This may be necessary in some virtualization environments" ON)
|
||||
|
Loading…
Reference in New Issue
Block a user