merge
authorhwmirror
Mon, 09 Nov 2015 18:03:47 +0000
changeset 11340 dfcbc2639ade
parent 11337 41ca5f8ace18 (current diff)
parent 11339 8ce376b16132 (diff)
child 11341 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 "")