merge
authorhwmirror
Mon, 09 Nov 2015 18:03:47 +0000
changeset 11335 dfcbc2639ade
parent 11332 41ca5f8ace18 (current diff)
parent 11334 8ce376b16132 (diff)
child 11336 e6e748d021d0
merge
--- a/cmake_modules/CheckHaskellModuleExists.cmake	Mon Nov 09 20:51:18 2015 +0300
+++ b/cmake_modules/CheckHaskellModuleExists.cmake	Mon Nov 09 18:03:47 2015 +0000
@@ -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 "")