mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
build: set cmake policy for if(IN_LIST) support
This commit is contained in:
parent
8e5dbc03fe
commit
8ba76e65e9
|
|
@ -52,6 +52,10 @@ if(POLICY CMP0056)
|
|||
cmake_policy(SET CMP0056 NEW) # try_compile(): link flags
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0057)
|
||||
cmake_policy(SET CMP0057 NEW) # CMake 3.3: if(IN_LIST) support
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0066)
|
||||
cmake_policy(SET CMP0066 NEW) # CMake 3.7: try_compile(): use per-config flags, like CMAKE_CXX_FLAGS_RELEASE
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user