From 37ee61a1b0f611bfd6cb4a6f86f4d8b14c17d01f Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Mon, 2 Nov 2015 13:23:20 +0100 Subject: [PATCH] fix togl on wily --- ng/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng/CMakeLists.txt b/ng/CMakeLists.txt index db746b7d..34977a86 100644 --- a/ng/CMakeLists.txt +++ b/ng/CMakeLists.txt @@ -3,7 +3,7 @@ set(netgen_sources demoview.cpp ngappinit.cpp onetcl.cpp parallelfunc.cpp ngpkg. if(USE_GUI) add_executable(netgen ${netgen_sources}) - target_link_libraries( netgen nglib ${ZLIB_LIBRARIES} ${LIBTOGL} ${TK_LIBRARY} ${TCL_LIBRARY} ${JPEG_LIBRARIES} ${FFMPEG_LIBRARIES}) + target_link_libraries( netgen nglib ${ZLIB_LIBRARIES} ${LIBTOGL} ${TK_LIBRARY} ${TCL_LIBRARY} ${JPEG_LIBRARIES} ${FFMPEG_LIBRARIES} ${X11_X11_LIB}) if(NOT WIN32) target_link_libraries( netgen mesh stlvis stl geom2dvis interface geom2d csg stl visual csgvis ) endif(NOT WIN32)