Enable CMake policy CMP0060 by default.

GitOrigin-RevId: 9d2073bbf54af70c44614153f05eed3d324c0fe6
This commit is contained in:
levlam 2020-11-03 12:34:34 +03:00
parent b3736ba098
commit 925e590917

View File

@ -21,6 +21,10 @@ if (POLICY CMP0054)
# do not expand quoted arguments
cmake_policy(SET CMP0054 NEW)
endif()
if (POLICY CMP0060)
# link libraries by full path
cmake_policy(SET CMP0060 NEW)
endif()
include(PreventInSourceBuild)
prevent_in_source_build()