[cmake] fix link object / lib order

This commit is contained in:
Stefan Bühler 2010-10-28 23:36:58 +02:00
parent ea71e975d5
commit f3a3c03f94

View File

@ -67,6 +67,7 @@ ADD_TARGET_PROPERTIES(fcgi-cgi COMPILE_FLAGS "-std=gnu99 -Wall -g -Wshadow -W -p
TARGET_LINK_LIBRARIES(fcgi-cgi "${EV_LIBRARIES}")
# GLIB 2
TARGET_LINK_LIBRARIES(fcgi-cgi "${GLIB2_LIBRARIES}")
ADD_TARGET_PROPERTIES(fcgi-cgi LINK_FLAGS "${GLIB2_LDFLAGS}")
ADD_TARGET_PROPERTIES(fcgi-cgi COMPILE_FLAGS "${GLIB2_CFLAGS_OTHER}")