diff options
Diffstat (limited to 'CMake/install-symlinks.cmake.in')
| -rw-r--r-- | CMake/install-symlinks.cmake.in | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/CMake/install-symlinks.cmake.in b/CMake/install-symlinks.cmake.in deleted file mode 100644 index e1c7a9e86..000000000 --- a/CMake/install-symlinks.cmake.in +++ /dev/null @@ -1,33 +0,0 @@ -# -# Installation script to create symlinks for the FLTK project using CMake -# -# Copyright 1998-2021 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 -# file is missing or damaged, see the license at: -# -# https://www.fltk.org/COPYING.php -# -# Please see the following page on how to report bugs and issues: -# -# https://www.fltk.org/bugs.php - -# On UNIX create backward compatibility symlinks -if(NOT EXISTS $ENV{DESTDIR}@PREFIX_INCLUDE@/Fl) - EXECUTE_PROCESS( - COMMAND ln -s FL Fl - WORKING_DIRECTORY $ENV{DESTDIR}@PREFIX_INCLUDE@ - ) -endif(NOT EXISTS $ENV{DESTDIR}@PREFIX_INCLUDE@/Fl) - -file(GLOB FLTK_HEADER_FILES $ENV{DESTDIR}@PREFIX_INCLUDE@/FL/*.H) -foreach(file ${FLTK_HEADER_FILES}) - GET_FILENAME_COMPONENT(nameWE ${file} NAME_WE) - if(NOT EXISTS $ENV{DESTDIR}@PREFIX_INCLUDE@/FL/${nameWE}.h) - EXECUTE_PROCESS( - COMMAND ln -s ${nameWE}.H ${nameWE}.h - WORKING_DIRECTORY $ENV{DESTDIR}@PREFIX_INCLUDE@/FL - ) - endif(NOT EXISTS $ENV{DESTDIR}@PREFIX_INCLUDE@/FL/${nameWE}.h) -endforeach(file) |
