aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/global_flags.linker.gnu.cmake
blob: 2bb54fbd786d45b5bb3ae2444032367f76c20b22 (plain) (blame)
1
2
3
4
5
6
7
8
9
add_link_options(
  -nodefaultlibs
  -lc
  -lm
)

if (APPLE)
  set(CMAKE_SHARED_LINKER_FLAGS "-undefined dynamic_lookup")
endif()