summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b613766a8..c0862717d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -231,9 +231,9 @@ if(WIN32)
target_link_libraries(fltk comctl32)
endif(WIN32)
-if(HAVE_CAIRO)
+if(FLTK_HAVE_CAIRO)
target_link_libraries(fltk fltk_cairo ${PKG_CAIRO_LIBRARIES})
-ENDif(HAVE_CAIRO)
+ENDif(FLTK_HAVE_CAIRO)
if(HAVE_XINERAMA)
target_link_libraries(fltk ${X11_Xinerama_LIB})
@@ -345,9 +345,9 @@ if(WIN32)
target_link_libraries(fltk_SHARED comctl32)
endif(WIN32)
-if(HAVE_CAIRO)
+if(FLTK_HAVE_CAIRO)
target_link_libraries(fltk_SHARED fltk_cairo ${PKG_CAIRO_LIBRARIES})
-ENDif(HAVE_CAIRO)
+ENDif(FLTK_HAVE_CAIRO)
if(HAVE_XINERAMA)
target_link_libraries(fltk_SHARED ${X11_Xinerama_LIB})