Haskell: Fix mismatched arguments in if-statement
This commit closes
@@ -239,9 +239,9 @@ macro (add_haskell_plugin target)
remove_plugin (${target} "GHC_RTS_LIB not found")
endif (GHC_RTS_LIB)
- else (FINDEX GREATER -1)
+ else (HAVE_HASKELL_BINDING)
remove_plugin (${target} "haskell bindings are not included in the cmake configuration")
- endif (FINDEX GREATER -1)
+ endif (HAVE_HASKELL_BINDING)
else (HASKELL_FOUND)
remove_plugin (${target} ${HASKELL_NOTFOUND_INFO})
endif (HASKELL_FOUND)
