Enable CMake policy CMP0060 by default.
GitOrigin-RevId: 9d2073bbf54af70c44614153f05eed3d324c0fe6
This commit is contained in:
parent
b3736ba098
commit
925e590917
@ -21,6 +21,10 @@ if (POLICY CMP0054)
|
|||||||
# do not expand quoted arguments
|
# do not expand quoted arguments
|
||||||
cmake_policy(SET CMP0054 NEW)
|
cmake_policy(SET CMP0054 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
if (POLICY CMP0060)
|
||||||
|
# link libraries by full path
|
||||||
|
cmake_policy(SET CMP0060 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(PreventInSourceBuild)
|
include(PreventInSourceBuild)
|
||||||
prevent_in_source_build()
|
prevent_in_source_build()
|
||||||
|
Loading…
Reference in New Issue
Block a user