Skip to content
Snippets Groups Projects
Commit 71388a91 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

gets rid of cmake FFTW warning

parent a1e34f6b
No related branches found
No related tags found
1 merge request!135gets rid of cmake FFTW warning
Pipeline #240917 passed
...@@ -50,5 +50,8 @@ else() ...@@ -50,5 +50,8 @@ else()
PkgConfig::FFTW3F) PkgConfig::FFTW3F)
endfunction() endfunction()
return(PROPAGATE FFTW3_INCLUDE_DIRS) get_directory_property(hasParent PARENT_DIRECTORY)
if (hasParent)
return(PROPAGATE FFTW3_INCLUDE_DIRS)
endif()
endif() endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment