summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Funk <[email protected]>2017-12-18 23:33:07 +0100
committerKevin Funk <[email protected]>2017-12-18 23:33:07 +0100
commit1859d5addaf4bdb845907cf0df4aa9388a50f2f2 (patch)
tree66f867d5dfcc6fe902d6e912b609e6220488ae4e
parent548f525f4308810888c85f42a570139029c40618 (diff)
Hide compiler warnings we are not interested in
From OpenEXR headers
-rw-r--r--thumbnail/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/thumbnail/CMakeLists.txt b/thumbnail/CMakeLists.txt
index 0926b38..2b1d8b9 100644
--- a/thumbnail/CMakeLists.txt
+++ b/thumbnail/CMakeLists.txt
@@ -128,17 +128,15 @@ endif()
if(OpenEXR_FOUND)
- include_directories( ${OpenEXR_INCLUDE_DIRS})
-
set(exrthumbnail_PART_SRCS exrcreator.cpp)
add_library(exrthumbnail MODULE ${exrthumbnail_PART_SRCS})
-
target_link_libraries(exrthumbnail
KF5::KIOCore
KF5::KIOWidgets
${OpenEXR_LIBRARIES}
- )
+ )
+ target_include_directories(exrthumbnail SYSTEM PRIVATE ${OpenEXR_INCLUDE_DIRS})
# OpenEXR headers use exceptions; at least clang refuses to build the target
# when exceptions are not enabled.