Skip to content

Commit

Permalink
Only exculde libs when not hiding symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Oct 24, 2017
1 parent 5058fb1 commit 868c199
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,9 @@ target_link_libraries(MIOpen ${MIOPEN_BOOST_LIB_VISIBILITY}
if(UNIX)
if(NOT BUILD_DEV)
set_target_properties(MIOpen PROPERTIES CXX_VISIBILITY_PRESET hidden)
endif()
if(NOT APPLE)
target_link_libraries(MIOpen PRIVATE "-Wl,--exclude-libs,ALL")
if(NOT APPLE)
target_link_libraries(MIOpen PRIVATE "-Wl,--exclude-libs,ALL")
endif()
endif()
endif()
endif()
Expand Down

0 comments on commit 868c199

Please sign in to comment.