Commit 55746e17 authored by Antoine Regimbeau's avatar Antoine Regimbeau

Future work: replace this function with CMake built in function

parent 3aa17993
......@@ -17,6 +17,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Two things can replace this whole function :
# This test if it is a symlink
# if(IS_SYMLINK file_name)
# This resolve the link
# get_filename_component(real_name file_name
# REALPATH )
# endif()
# We can also just do
# get_filename_component(real_name file_name
# REALPATH )
# and resolve the symlink
function(isfile_symlink file result_var1 result_var2)
#
# A file is not executable until proven otherwise:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment