diff --git a/CMakeLists.txt b/CMakeLists.txt index 73c68f048..ed6e4d5fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()