Update CMakeLists.txt to newer policies.
This commit is contained in:
parent
e11bd98f52
commit
7e9153f6f9
|
@ -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)
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
add_subdirectory(vst)
|
||||
#add_subdirectory(vst)
|
||||
|
|
Loading…
Reference in New Issue