Fixes false-positive warning about usage of glib2 API
in glib2 headers that does not exit in 2.40, which LF requires.

Signed-off-by: Roman Lebedev <[email protected]>
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 644bf44..53e84db 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -110,7 +110,7 @@ ENDIF()
 SET(LENSFUN_GLIB_REQUIREMENT_MACRO "GLIB_VERSION_2_40")
 FIND_PACKAGE(GLIB2 REQUIRED 2.40)
 
-INCLUDE_DIRECTORIES(${GLIB2_INCLUDE_DIRS})
+INCLUDE_DIRECTORIES(SYSTEM ${GLIB2_INCLUDE_DIRS})
 # install glib dll on windows next to lensfun.dll
 IF (GLIB2_DLL)
     INSTALL(FILES ${GLIB2_DLL} DESTINATION ${LENSFUN_FULL_BINDIR})
-- 
2.6.1


------------------------------------------------------------------------------
Full-scale, agent-less Infrastructure Monitoring from a single dashboard
Integrate with 40+ ManageEngine ITSM Solutions for complete visibility
Physical-Virtual-Cloud Infrastructure monitoring from one console
Real user monitoring with APM Insights and performance trend reports 
Learn More http://pubads.g.doubleclick.net/gampad/clk?id=247754911&iu=/4140
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to