The CMake policy CMP0144 generates an error with the latest CMake version (3.30.4). #17
@ -36,6 +36,9 @@ cmake_policy(SET CMP0043 NEW)
|
|||||||
|
|
||||||
# Use ROOT variables in find_package.
|
# Use ROOT variables in find_package.
|
||||||
cmake_policy(SET CMP0074 NEW)
|
cmake_policy(SET CMP0074 NEW)
|
||||||
|
if(POLICY CMP0144)
|
||||||
|
cmake_policy(SET CMP0144 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Avoid having empty buildtype.
|
# Avoid having empty buildtype.
|
||||||
set(CMAKE_BUILD_TYPE_INIT "Release")
|
set(CMAKE_BUILD_TYPE_INIT "Release")
|
||||||
|
Loading…
Reference in New Issue
Block a user