summaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-01-06 10:24:58 +0000
committerManolo Gouy <Manolo>2011-01-06 10:24:58 +0000
commitbc509d32eb741e5d3876eaaf0abd270cf68cd3b4 (patch)
tree54dc5262309cd9a5d89812f6f3ac42439ffc2f2e /test/CMakeLists.txt
parentead3432f9b9629f201bba47e1b3fbf25d487eba8 (diff)
Fix STR #2504 (first part). Replaced HAVE _CAIRO by FLTK_HAVE_CAIRO and USE_CAIRO
by FLTK_USE_CAIRO everywhere. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 969b3d642..a2cba8840 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -33,9 +33,9 @@ macro(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
target_link_libraries(${NAME} ${LIBRARIES})
# link in optional libraries
- if(HAVE_CAIRO)
+ if(FLTK_HAVE_CAIRO)
target_link_libraries(${NAME} fltk_cairo)
- endif(HAVE_CAIRO)
+ endif(FLTK_HAVE_CAIRO)
if(USE_XFT)
target_link_libraries(${NAME} ${X11_Xft_LIB})
@@ -133,6 +133,6 @@ CREATE_EXAMPLE(shape shape.cxx "fltk;fltk_gl;${OPENGL_LIBRARIES}")
endif(OPENGL_FOUND)
# Cairo demo
-if(HAVE_CAIRO)
+if(FLTK_HAVE_CAIRO)
CREATE_EXAMPLE(cairo_test cairo_test.cxx fltk)
-endif(HAVE_CAIRO)
+endif(FLTK_HAVE_CAIRO)