diff --git a/cmake/configure.cmake b/cmake/configure.cmake index 030a48e66bf5123cb046723c888be973cb7008be..e9852f00b1835adec31373f58ac538f9685251e0 100644 --- a/cmake/configure.cmake +++ b/cmake/configure.cmake @@ -16,11 +16,6 @@ if(NOT WITH_PYTHON) add_definitions(-DPADDLE_NO_PYTHON) endif(NOT WITH_PYTHON) -if(APPLE) - set(ENV{CMAKE_FIND_FRAMEWORK} LAST) - set(ENV{CMAKE_FIND_APPBUNDLE} LAST) -endif(APPLE) - if(WITH_DSO) add_definitions(-DPADDLE_USE_DSO) endif(WITH_DSO)