mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2025-01-29 04:37:31 +01:00
Enable CMP0074 policy to suppress CMake warning.
This commit is contained in:
parent
d598402a3c
commit
25946a5c8e
@ -27,6 +27,10 @@ if (POLICY CMP0060)
|
|||||||
# link libraries by full path
|
# link libraries by full path
|
||||||
cmake_policy(SET CMP0060 NEW)
|
cmake_policy(SET CMP0060 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
if (POLICY CMP0074)
|
||||||
|
# use environment variables to find libraries
|
||||||
|
cmake_policy(SET CMP0074 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
include(PreventInSourceBuild)
|
include(PreventInSourceBuild)
|
||||||
prevent_in_source_build()
|
prevent_in_source_build()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user