summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorfabien <fabien@onepost.net>2018-12-22 10:35:52 -0600
committerfabien <fabien@onepost.net>2018-12-22 10:35:52 -0600
commit9338385da76a773f31fb9df363795eda7a2948be (patch)
tree1d896013733ccc5f890530eea8ecd986f0ce2998 /CMake
parentcaea9c0c016715e91b42f0cdd6a3944ace5b511a (diff)
remove unnecessary double braces in option.cmake cairo detection code
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index c71eff1f4..c37bf7181 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -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)
#######################################################################