EGLWLApplicationExample: fix link script
authorNobuhiko Tanibata <ntanibata@jp.adit-jv.com>
Tue, 27 Mar 2012 08:05:32 +0000 (17:05 +0900)
committerMichael Schuldt <michael.schuldt@bmw.de>
Thu, 12 Apr 2012 07:37:29 +0000 (09:37 +0200)
LayerManagerExamples/EGLWLApplicationExample/CMakeLists.txt

index 33a91da..1ced9b9 100644 (file)
@@ -42,7 +42,7 @@ find_package (Wayland REQUIRED)
 include_directories(${WAYLAND_CLIENT_INCLUDE_DIR} ${FFI_INCLUDE_DIR})
 add_dependencies(EGLWLApplicationExample wayland-client)
 
-set(LIBS ${LIBS} ${GLESv2_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES} ${FFI_LIBRARIES} ${EGL_LIBRARY} LayerManagerUtils) 
-target_link_libraries(EGLWLApplicationExample ${LIBS} ilmClient wayland-client wayland-egl -ldl)
+set(LIBS ${LIBS} ${GLESv2_LIBRARIES} ${WAYLAND_CLIENT_LIBRARIES} ${WAYLAND_EGL_LIBRARIES} ${FFI_LIBRARIES} ${EGL_LIBRARY} LayerManagerUtils)
+target_link_libraries(EGLWLApplicationExample ${LIBS} ilmClient -ldl)
 
 install (TARGETS EGLWLApplicationExample DESTINATION bin)