Enable CMP0074 policy to suppress CMake warning.
This commit is contained in:
parent
7cf64bac44
commit
ac00bcd797
1 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,10 @@ if (POLICY CMP0060)
|
|||
# link libraries by full path
|
||||
cmake_policy(SET CMP0060 NEW)
|
||||
endif()
|
||||
if (POLICY CMP0074)
|
||||
# use environment variables to find libraries
|
||||
cmake_policy(SET CMP0074 NEW)
|
||||
endif()
|
||||
|
||||
include(PreventInSourceBuild)
|
||||
prevent_in_source_build()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue