Commit bb0dd053 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Fix logic with spline target detection

parent 2ab82d9f
......@@ -69,7 +69,7 @@ if (ITA_BASE_WITH_OLD_RAVEN_OPS)
"ITABase old RAVEN ops requires regular expressions and old config implementation. Please activate."
)
endif ()
if (TARGET Spline::spline)
if (NOT TARGET Spline::spline)
message (FATAL_ERROR "ITABase old RAVEN ops requires SPLINE, which was not found. Please provide.")
endif ()
endif ()
......
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