equal
deleted
inserted
replaced
9 # See the License for more information. |
9 # See the License for more information. |
10 #============================================================================= |
10 #============================================================================= |
11 |
11 |
12 macro(CHECK_HASKELL_MODULE_EXISTS MODULE FUNCTION PARAMCOUNT LIBRARY) |
12 macro(CHECK_HASKELL_MODULE_EXISTS MODULE FUNCTION PARAMCOUNT LIBRARY) |
13 set(VARIABLE "HS_MODULE_${LIBRARY}_${FUNCTION}") |
13 set(VARIABLE "HS_MODULE_${LIBRARY}_${FUNCTION}") |
14 if("${VARIABLE}" MATCHES "^${VARIABLE}$") |
14 if(${VARIABLE} MATCHES ^${VARIABLE}$) |
15 message(STATUS "Looking for ${FUNCTION} in ${MODULE}") |
15 message(STATUS "Looking for ${FUNCTION} in ${MODULE}") |
16 |
16 |
17 set(PARAMETERS "") |
17 set(PARAMETERS "") |
18 |
18 |
19 if(PARAMCOUNT GREATER 0) |
19 if(PARAMCOUNT GREATER 0) |