File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ cc_library(paddle_fluid_shared SHARED
13
13
SRCS io.cc
14
14
DEPS ${GLOB_OP_LIB} ${FLUID_CORE_MODULES} )
15
15
set_target_properties (paddle_fluid_shared PROPERTIES OUTPUT_NAME paddle_fluid )
16
- # if(NOT APPLE)
17
- # # TODO(liuyiqun): Temporarily disable the link flag because it is not support on Mac.
18
- # set(LINK_FLAGS "-Wl,--version-script ${CMAKE_CURRENT_SOURCE_DIR}/paddle_fluid.map")
19
- # set_target_properties(paddle_fluid_shared PROPERTIES LINK_FLAGS "${LINK_FLAGS}")
20
- # endif()
16
+ if (NOT APPLE )
17
+ # TODO(liuyiqun): Temporarily disable the link flag because it is not support on Mac.
18
+ set (LINK_FLAGS "-Wl,--version-script ${CMAKE_CURRENT_SOURCE_DIR} /paddle_fluid.map" )
19
+ set_target_properties (paddle_fluid_shared PROPERTIES LINK_FLAGS "${LINK_FLAGS} " )
20
+ endif ()
21
21
22
22
if (WITH_TESTING )
23
23
add_subdirectory (tests/book )
You can’t perform that action at this time.
0 commit comments