aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Abad <angelabad@ubuntu.com>2011-12-16 18:28:02 +0100
committerStefan B├╝hler <stbuehler@web.de>2011-12-16 18:28:02 +0100
commit184406ceab55b13d7eb342fa4fd4d3dce290b0bb (patch)
tree160c2ba8ace24e45d28bd571564e772ac4e743ad
parentfd45ac88e281a1d335abba2dcc65cb85c9a66cdb (diff)
downloadmultiwatch-184406ceab55b13d7eb342fa4fd4d3dce290b0bb.tar.gz
multiwatch-184406ceab55b13d7eb342fa4fd4d3dce290b0bb.zip
fix ftbfs with ld --as-needed
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f62ea81..9e29fbc 100644
--- a/CMakeLists.txt
+++ b/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)