Merge pull request #33 from bananaoomarang/cmakeWarnings
Remove quotes when checking Haskell Modules to adopt CMP0054
--- a/cmake_modules/CheckHaskellModuleExists.cmake Mon Nov 09 16:34:32 2015 +0000
+++ b/cmake_modules/CheckHaskellModuleExists.cmake Mon Nov 09 18:37:57 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 "")