| Summary: | build fails - openmp flags | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | tropikhajma <tropikhajma> |
| Component: | Plugin-DImg-RAW | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles |
| Priority: | NOR | ||
| Version First Reported In: | 1.5.0 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Solaris | ||
| Latest Commit: | Version Fixed/Implemented In: | 1.6.0 | |
| Sentry Crash Report: | |||
|
Description
tropikhajma
2010-11-19 15:55:04 UTC
SVN commit 1199532 by cgilles: apply patch to compile fine libkdcraw with openmp under Solaris BUGS: 257329 M +5 -2 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1199532 SVN commit 1199679 by cgilles: same similar patch need to be applied to ExpoBlending tool about openmp. CCBUGS: 257329 M +7 -3 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1199679 SVN commit 1199681 by cgilles: do not handle openmp under macosx CCBUGS: 257329 M +2 -2 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1199681 the below patch fixes the mentioned raw2png failure:
--- libs/libkdcraw/test/CMakeLists.txt.orig 2010-11-30 20:49:46.096351324 +0100
+++ libs/libkdcraw/test/CMakeLists.txt 2010-11-30 20:50:45.080015887 +0100
@@ -30,7 +30,7 @@
SET(raw2png_SRCS raw2png.cpp)
KDE4_ADD_EXECUTABLE(raw2png NOGUI ${raw2png_SRCS})
-TARGET_LINK_LIBRARIES(raw2png kdcraw ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY})
+TARGET_LINK_LIBRARIES(raw2png kdcraw ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${OPENMP_LDFLAGS} )
LIBKDCRAW_BUILD_TEST(simple_dcraw)
LIBKDCRAW_BUILD_TEST(mem_image)
SVN commit 1202426 by cgilles: compile under Solaris with OpenMP CCBUGS: 257329 M +1 -1 CMakeLists.txt WebSVN link: http://websvn.kde.org/?view=rev&revision=1202426 |