diff --git a/CMakeLists.txt b/CMakeLists.txt index fed539e51ecac80d6c98fbdf6cce2975cc1de2b6..587e0f9e0e04833327db0e0bba58fc7f627b16ad 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,9 +24,6 @@ endif() # https://cmake.org/cmake/help/v3.0/policy/CMP0026.html?highlight=cmp0026 cmake_policy(SET CMP0026 OLD) cmake_policy(SET CMP0079 NEW) -if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.18) - cmake_policy(SET CMP0104 OLD) -endif() set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(PADDLE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(PADDLE_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})