summaryrefslogtreecommitdiff
path: root/CMake/install.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/install.cmake')
-rw-r--r--CMake/install.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/install.cmake b/CMake/install.cmake
index b6b18c374..0d1c35f16 100644
--- a/CMake/install.cmake
+++ b/CMake/install.cmake
@@ -50,6 +50,9 @@ endif (OPTION_CREATE_LINKS)
# generate FLTKConfig.cmake for installed directory use
set (INCLUDE_DIRS ${CMAKE_INSTALL_PREFIX}/include)
+if (FLTK_HAVE_CAIRO)
+ list (APPEND INCLUDE_DIRS ${PKG_CAIRO_INCLUDE_DIRS})
+endif ()
set (CONFIG_PATH ${CMAKE_INSTALL_PREFIX}/${FLTK_CONFIG_PATH})