mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 14:31:40 +08:00
remove unnecessary double braces in option.cmake cairo detection code
This commit is contained in:
+2
-2
@@ -178,11 +178,11 @@ if (PKG_CAIRO_FOUND)
|
||||
set(FLTK_CAIRO_FOUND FALSE)
|
||||
endif (LIB_CAIRO AND OPTION_CAIROEXT)
|
||||
else ()
|
||||
if ((OPTION_CAIRO OR OPTION_CAIROEXT))
|
||||
if (OPTION_CAIRO OR OPTION_CAIROEXT)
|
||||
message(STATUS "*** Cairo was requested but not found - please check your cairo installation")
|
||||
message(STATUS "*** or disable options OPTION_CAIRO and OPTION_CAIRO_EXT.")
|
||||
message(FATAL_ERROR "*** Terminating: missing Cairo libs or headers.")
|
||||
endif ((OPTION_CAIRO OR OPTION_CAIROEXT))
|
||||
endif (OPTION_CAIRO OR OPTION_CAIROEXT)
|
||||
endif (PKG_CAIRO_FOUND)
|
||||
|
||||
#######################################################################
|
||||
|
||||
Reference in New Issue
Block a user