summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2015-04-25 13:50:27 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2015-04-25 13:50:27 +0000
commite23bf0b768531c31d344cbb1b1a034f8e9de664d (patch)
tree039a5b912a077d5656691b79bf82c7440f1e42cc /CMakeLists.txt
parentd2b7b5b24a65772e08ba6da6b559f770c7fcb4af (diff)
[CMake] Fix CMake build's fltk-config (STR #3217).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bb05e339e..b82d5dcda 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,6 +45,14 @@ include(CMake/resources.cmake)
include(CMake/options.cmake)
#######################################################################
+# variables shared by export and install
+# export.cmake creates configuration files for direct use in a built but uninstalled FLTK
+# install.cmake creates these files for an installed FLTK
+# these two would only differ in paths, so common variables are set here
+#######################################################################
+include(CMake/variables.cmake)
+
+#######################################################################
# final config and export
#######################################################################
include(CMake/export.cmake)