From kde-edu Wed Mar 11 22:33:46 2015 From: Alexander Semke Date: Wed, 11 Mar 2015 22:33:46 +0000 To: kde-edu Subject: Re: LabPlot builds and runs with kf5 Message-Id: <1702503.OUHc5yzC0f () linux-7xsw ! site> X-MARC-Message: https://marc.info/?l=kde-edu&m=142611323700979 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart8931988.Cy6HtapFVf" This is a multi-part message in MIME format. --nextPart8931988.Cy6HtapFVf Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" > any progress on the library location issue? Though I don't completely understand why this should work, can you try the attached patch? -- Alexander --nextPart8931988.Cy6HtapFVf Content-Disposition: attachment; filename="gsl_include_fix.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="gsl_include_fix.diff" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4d30090..d0a9f4a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -161,7 +161,7 @@ add_subdirectory( pics/gsl_distributions ) ############################################################################## # set(LABPLOT_SRCS ${GUI_SOURCES} ${PLOTS_SOURCES} parser/parser.tab.c) set(LABPLOT_SRCS ${GUI_SOURCES} ${PLOTS_SOURCES}) -INCLUDE_DIRECTORIES(.) +INCLUDE_DIRECTORIES(. ${GSL_INCLUDE_DIR} ${GSL_INCLUDEDIR}/..) kde4_add_ui_files(LABPLOT_SRCS ${UI_SOURCES}) kde4_add_executable(labplot2 ${LABPLOT_SRCS} ${BACKEND_SOURCES} ${DATASOURCES_SOURCES} ${COMMONFRONTEND_SOURCES} ${TOOLS_SOURCES}) target_link_libraries(labplot2 ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${GSL_LIBRARIES} ${GSL_CBLAS_LIBRARIES}) --nextPart8931988.Cy6HtapFVf Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Ka2RlLWVkdSBt YWlsaW5nIGxpc3QKa2RlLWVkdUBtYWlsLmtkZS5vcmcKaHR0cHM6Ly9tYWlsLmtkZS5vcmcvbWFp bG1hbi9saXN0aW5mby9rZGUtZWR1Cg== --nextPart8931988.Cy6HtapFVf--