]> granicus.if.org Git - fortune-mod/commitdiff
add a missing cmake include
authorShlomi Fish <shlomif@shlomifish.org>
Mon, 19 Apr 2021 13:31:13 +0000 (16:31 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Mon, 19 Apr 2021 13:31:13 +0000 (16:31 +0300)
fortune-mod/CMakeLists.txt

index 4ec4e64be9ffd16a786f5b887e61d694aad8a313..0325920e819bfa1bdcd5ce8d18f6086cfb4643f6 100644 (file)
@@ -121,7 +121,11 @@ IF ("$ENV{FCS_GCC}")
         ADD_DEFINITIONS("-O1")
 ENDIF ()
 
+# Either or both of CheckIncludeFile
+# and CheckIncludeFiles may be needed for
+# CHECK_INCLUDE_FILES and CHECK_INCLUDE_FILE
 INCLUDE(CheckIncludeFile)
+INCLUDE(CheckIncludeFiles)
 SET(_r "stdbool.h" "stdio.h" "recode.h")
 CHECK_INCLUDE_FILES("${_r}" HAVE_RECODE_H)
 IF (NOT "${HAVE_RECODE_H}")