Skip to content

Commit dca9c7b

Browse files
committed
test=develop
1 parent 887ebd8 commit dca9c7b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/configure.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ if(NOT WITH_PYTHON)
1616
add_definitions(-DPADDLE_NO_PYTHON)
1717
endif(NOT WITH_PYTHON)
1818

19+
if(APPLE)
20+
set(ENV{CMAKE_FIND_FRAMEWORK} LAST)
21+
set(ENV{CMAKE_FIND_APPBUNDLE} LAST)
22+
endif(APPLE)
23+
1924
if(WITH_DSO)
2025
add_definitions(-DPADDLE_USE_DSO)
2126
endif(WITH_DSO)

0 commit comments

Comments
 (0)