KDE/kdelibs/cmake/modules

Paulo Moura Guedes moura at kdewebdev.org
Tue May 30 19:21:09 CEST 2006


SVN commit 546660 by mojo:

Allow cmake to use the gif include dir, necessary for the check.

CCMAIL: kde-buildsystem at kde.org

 M  +1 -0      FindGIF.cmake  


--- trunk/KDE/kdelibs/cmake/modules/FindGIF.cmake #546659:546660
@@ -25,6 +25,7 @@
 )
 
 if (GIF_INCLUDE_DIR AND GIF_LIBRARIES)
+   set(CMAKE_REQUIRED_INCLUDES "${GIF_INCLUDE_DIR}" "${CMAKE_REQUIRED_INCLUDES}")
    CHECK_STRUCT_MEMBER(GifFileType UserData gif_lib.h GIF_FOUND)
 endif (GIF_INCLUDE_DIR AND GIF_LIBRARIES)
 


More information about the Kde-buildsystem mailing list