Skip to content
Snippets Groups Projects
Commit 3230ee5f authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

Task #1254: Bug fix to FindPyrap.cmake. If Pyrap is not required, then...

Task #1254: Bug fix to FindPyrap.cmake. If Pyrap is not required, then casacore should also not be required.
parent 75f43676
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,11 @@ if(NOT PYRAP_FOUND)
# Pyrap also depends on Casacore
include(LofarFindPackage)
lofar_find_package(Casacore REQUIRED COMPONENTS casa)
if(Pyrap_FIND_REQUIRED)
lofar_find_package(Casacore REQUIRED COMPONENTS casa)
else(Pyrap_FIND_REQUIRED)
lofar_find_package(Casacore COMPONENTS casa)
endif(Pyrap_FIND_REQUIRED)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Pyrap DEFAULT_MSG
......
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