Update CMakeLists.txt to newer policies.

This commit is contained in:
Jean-Paul Chaput 2021-10-01 18:31:53 +02:00
parent e11bd98f52
commit 7e9153f6f9
2 changed files with 7 additions and 7 deletions

View File

@ -7,12 +7,12 @@
if(COMMAND CMAKE_POLICY)
cmake_policy(SET CMP0003 NEW)
cmake_policy(SET CMP0005 NEW)
if(NOT (CMAKE_VERSION VERSION_LESS 2.8.0))
cmake_policy(SET CMP0014 OLD)
endif()
if(NOT (CMAKE_VERSION VERSION_LESS 2.8.12))
cmake_policy(SET CMP0022 OLD)
endif()
#if(NOT (CMAKE_VERSION VERSION_LESS 2.8.0))
# cmake_policy(SET CMP0014 OLD)
#endif()
#if(NOT (CMAKE_VERSION VERSION_LESS 2.8.12))
# cmake_policy(SET CMP0022 OLD)
#endif()
endif(COMMAND CMAKE_POLICY)
endmacro(set_cmake_policies)

View File

@ -1 +1 @@
add_subdirectory(vst)
#add_subdirectory(vst)