[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-edu
Subject: Re: LabPlot builds and runs with kf5
From: Alexander Semke <Alexander.Semke () web ! de>
Date: 2015-03-11 22:33:46
Message-ID: 1702503.OUHc5yzC0f () linux-7xsw ! site
[Download RAW message or body]
> any progress on the library location issue?
Though I don't completely understand why this should work, can you try the
attached patch?
--
Alexander
["gsl_include_fix.diff" (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})
[Attachment #4 (text/plain)]
_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic