CMake build: disable warn about not known policy

This only showed up with -DLYX_EXTERNAL_ICONV=OFF.
This commit is contained in:
Scott Kostyshak 2022-11-10 10:34:15 -05:00
parent a99f76477d
commit d35753a6d0

View File

@ -14,6 +14,9 @@ if (POLICY CMP0069)
set(LYX_IPO_SUPPORTED YES)
endif()
endif()
if (POLICY CMP0075)
cmake_policy(SET CMP0075 NEW)
endif()
set(CMAKE_MODULE_PATH .)
include ( configure.cmake )