Remove quotes when checking Haskell Modules to adopt new CMake
behaviour (CMP0054)
--- a/cmake_modules/CheckHaskellModuleExists.cmake Sat Apr 11 17:37:43 2015 +0300
+++ b/cmake_modules/CheckHaskellModuleExists.cmake Sun Apr 26 13:02:38 2015 +0100
@@ -11,7 +11,7 @@
macro(CHECK_HASKELL_MODULE_EXISTS MODULE FUNCTION PARAMCOUNT LIBRARY)
set(VARIABLE "HS_MODULE_${LIBRARY}_${FUNCTION}")
- if("${VARIABLE}" MATCHES "^${VARIABLE}$")
+ if(${VARIABLE} MATCHES ^${VARIABLE}$)
message(STATUS "Looking for ${FUNCTION} in ${MODULE}")
set(PARAMETERS "")