diff options
Diffstat (limited to 'CMake/compatibility.cmake')
| -rw-r--r-- | CMake/compatibility.cmake | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/CMake/compatibility.cmake b/CMake/compatibility.cmake index 338e9b9e3..233b4001f 100644 --- a/CMake/compatibility.cmake +++ b/CMake/compatibility.cmake @@ -1,7 +1,7 @@ # # CMake compatibility functions and macros for the Fast Light Tool Kit (FLTK) # -# Copyright 1998-2021 by Bill Spitzak and others. +# Copyright 1998-2023 by Bill Spitzak and others. # # This library is free software. Distribution and use rights are outlined in # the file "COPYING" which should have been included with this file. If this @@ -16,7 +16,7 @@ ################################################################################ # -# The functions (and macros) in this file are defined to simplify CMake +# The functions and maybe macros in this file are defined to simplify CMake # code that uses features not available in all supported CMake versions. # Functions should be preferred (rather than macros) because functions # have their own variable scope. @@ -33,6 +33,12 @@ # ################################################################################ + +# Right now we don't need compatibility functions +# This file is currently "empty" but left for documentation purposes +# An example function documentation follows... + + ################################################################################ # # function fl_target_link_directories - add link directories to target @@ -62,13 +68,3 @@ # can be an empty list. # ################################################################################ - -function (fl_target_link_directories TARGET SCOPE DIRS) - - if (CMAKE_VERSION VERSION_LESS "3.13") - link_directories (${DIRS}) - else () - target_link_directories (${TARGET} ${SCOPE} ${DIRS}) - endif () - -endfunction () # fl_target_link_directories() |
