Browse Source

fix ftbfs with ld --as-needed

master
Angel Abad 10 years ago
committed by Stefan Bühler
parent
commit
184406ceab
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -67,7 +67,7 @@ ADD_TARGET_PROPERTIES(multiwatch COMPILE_FLAGS "-std=gnu99 -Wall -g -Wshadow -W
TARGET_LINK_LIBRARIES(multiwatch "${EV_LIBRARIES}")
# GLIB 2
ADD_TARGET_PROPERTIES(multiwatch LINK_FLAGS "${GLIB2_LDFLAGS}")
TARGET_LINK_LIBRARIES(multiwatch "${GLIB2_LDFLAGS}")
ADD_TARGET_PROPERTIES(multiwatch COMPILE_FLAGS "${GLIB2_CFLAGS_OTHER}")
INSTALL(TARGETS multiwatch DESTINATION bin)
Loading…
Cancel
Save