FLTK logo

[master] a5bad9a - CMake: formatting only

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] a5bad9a - CMake: formatting only "Albrecht Schlosser" 14:47 Mar 18  
 
commit a5bad9a39503540dcf4b053d92ff6e911491076e
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Mon Mar 18 22:44:53 2024 +0100
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Mon Mar 18 22:44:53 2024 +0100

    CMake: formatting only

 CMake/options.cmake   |  2 +-
 CMake/resources.cmake | 20 ++++++++++----------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git CMake/options.cmake CMake/options.cmake
index f4adee1..d04431b 100644
--- CMake/options.cmake
+++ CMake/options.cmake
@@ -424,7 +424,7 @@ option(FLTK_USE_POLL "use poll if available" OFF)
 mark_as_advanced(FLTK_USE_POLL)
 
 if(FLTK_USE_POLL)
-  CHECK_FUNCTION_EXISTS(poll USE_POLL)
+  check_function_exists(poll USE_POLL)
 endif(FLTK_USE_POLL)
 
 #######################################################################
diff --git CMake/resources.cmake CMake/resources.cmake
index 4cc2d3b..435ff32 100644
--- CMake/resources.cmake
+++ CMake/resources.cmake
@@ -178,31 +178,31 @@ if(HAVE_DLFCN_H)
 endif(HAVE_DLFCN_H)
 
 set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_DL_LIBS})
-CHECK_FUNCTION_EXISTS (dlsym                    HAVE_DLSYM)
+check_function_exists(dlsym                     HAVE_DLSYM)
 set(CMAKE_REQUIRED_LIBRARIES)
 
-CHECK_FUNCTION_EXISTS (localeconv               HAVE_LOCALECONV)
+check_function_exists(localeconv                HAVE_LOCALECONV)
 
 if(LIB_png)
   set(CMAKE_REQUIRED_LIBRARIES ${LIB_png})
-  CHECK_FUNCTION_EXISTS (png_get_valid          HAVE_PNG_GET_VALID)
-  CHECK_FUNCTION_EXISTS (png_set_tRNS_to_alpha  HAVE_PNG_SET_TRNS_TO_ALPHA)
+  check_function_exists(png_get_valid           HAVE_PNG_GET_VALID)
+  check_function_exists(png_set_tRNS_to_alpha   HAVE_PNG_SET_TRNS_TO_ALPHA)
   set(CMAKE_REQUIRED_LIBRARIES)
 endif(LIB_png)
 
-CHECK_FUNCTION_EXISTS (scandir                  HAVE_SCANDIR)
-CHECK_FUNCTION_EXISTS (snprintf                 HAVE_SNPRINTF)
+check_function_exists(scandir                   HAVE_SCANDIR)
+check_function_exists(snprintf                  HAVE_SNPRINTF)
 
 # not really true but we convert strcasecmp calls to _stricmp calls in flstring.h
 if(MSVC)
    set(HAVE_STRCASECMP 1)
 endif(MSVC)
 
-CHECK_FUNCTION_EXISTS (strcasecmp               HAVE_STRCASECMP)
+check_function_exists(strcasecmp                HAVE_STRCASECMP)
 
-CHECK_FUNCTION_EXISTS (strlcat                  HAVE_STRLCAT)
-CHECK_FUNCTION_EXISTS (strlcpy                  HAVE_STRLCPY)
-CHECK_FUNCTION_EXISTS (vsnprintf                HAVE_VSNPRINTF)
+check_function_exists(strlcat                   HAVE_STRLCAT)
+check_function_exists(strlcpy                   HAVE_STRLCPY)
+check_function_exists(vsnprintf                 HAVE_VSNPRINTF)
 
 check_function_exists(setenv                    HAVE_SETENV)
 
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.