[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [digikam] core/libs/rawengine/libraw: polish
From: Human Dynamo <null () kde ! org>
Date: 2018-07-01 4:21:03
Message-ID: E1fZTrD-0002Id-IQ () code ! kde ! org
[Download RAW message or body]
Git commit 5ccc87c5000dd6feb5c06e67c7ae4deaf6767638 by Human Dynamo.
Committed on 01/07/2018 at 04:20.
Pushed by cgilles into branch 'master'.
polish
M +4 -2 core/libs/rawengine/libraw/CMakeLists.txt
https://commits.kde.org/digikam/5ccc87c5000dd6feb5c06e67c7ae4deaf6767638
diff --git a/core/libs/rawengine/libraw/CMakeLists.txt b/core/libs/rawengin=
e/libraw/CMakeLists.txt
index 429b63275a..bf9d0fd439 100644
--- a/core/libs/rawengine/libraw/CMakeLists.txt
+++ b/core/libs/rawengine/libraw/CMakeLists.txt
@@ -65,6 +65,7 @@ endif()
# JPEG library check
=
message(STATUS "Looking for LibJpeg")
+
if(JPEG_FOUND)
# JPEG lib version is done on top level through MacroJPEG.cmake
if (${JPEG_LIB_VERSION} LESS 80)
@@ -132,8 +133,8 @@ set(libraw_LIB_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/interna=
l/dcraw_common.cpp
)
=
# Disable compilation warnings from LibRaw. Just to be clear on the consol=
e.
-# Adjust flag for static lib and 64 bits computers using -fPIC for GCC com=
piler (B.K.O: #269903)
-# Use O4 GCC compilation option to prevent artifacts with OpenMP (B.K.O #3=
05382)
+# Adjust flag for static lib and 64 bits computers using -fPIC for GCC com=
piler (Bug: #269903)
+# Use O4 GCC compilation option to prevent artifacts with OpenMP (Bug #305=
382)
foreach(_curentfile ${libraw_LIB_SRCS})
if(WIN32 AND MSVC)
set_source_files_properties(${_curentfile} PROPERTIES COMPILE_FLAG=
S "-w")
@@ -150,6 +151,7 @@ target_link_libraries(libraw
${LCMS2_LIBRARIES}
${OPENMP_LDFLAGS}
)
+
if(JPEG_FOUND)
target_link_libraries(libraw ${JPEG_LIBRARY})
endif()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic