Skip to content
Snippets Groups Projects
Commit 111ccd93 authored by Franck Pérignon's avatar Franck Pérignon
Browse files

fix old cmake behavior

parent c777352a
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,7 @@ if(WITH_FFTW) ...@@ -86,7 +86,7 @@ if(WITH_FFTW)
set(dirlist) set(dirlist)
foreach(_file ${FFTW_LIBRARIES}) foreach(_file ${FFTW_LIBRARIES})
if(CMAKE_PATCH_VERSION LESS 12) if(CMAKE_PATCH_VERSION LESS 12)
get_filename_component(_name ${_file} REALPATH) get_filename_component(_name ${_file} PATH)
else() else()
get_filename_component(_name ${_file} DIRECTORY) get_filename_component(_name ${_file} DIRECTORY)
endif() endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment