summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/Anope.cmake16
1 files changed, 10 insertions, 6 deletions
diff --git a/cmake/Anope.cmake b/cmake/Anope.cmake
index 3f9165106..90dff5b72 100644
--- a/cmake/Anope.cmake
+++ b/cmake/Anope.cmake
@@ -408,12 +408,16 @@ macro(calculate_depends SRC SKIP MODULE)
endif(FOUND_IN_INCLUDES EQUAL -1)
endif(FOUND_IN_DEFAULTS EQUAL -1)
else(FOUND_${FILENAME}_INCLUDE)
- set(${SKIP} TRUE)
- if(NOT ${MODULE})
- message(FATAL_ERROR "${SRC} needs header file ${FILENAME} but we were unable to locate that header file! Check that the header file is within the search path of your OS.")
- else(NOT ${MODULE})
- message(" ${SRC} can not be built due to missing dependencies - requires header file ${FILENAME}")
- endif(NOT ${MODULE})
+ if(${FILENAME} STREQUAL "libintl.h")
+ # XXX
+ else(${FILENAME} STREQUAL "libintl.h")
+ set(${SKIP} TRUE)
+ if(NOT ${MODULE})
+ message(FATAL_ERROR "${SRC} needs header file ${FILENAME} but we were unable to locate that header file! Check that the header file is within the search path of your OS.")
+ else(NOT ${MODULE})
+ message(" ${SRC} can not be built due to missing dependencies - requires header file ${FILENAME}")
+ endif(NOT ${MODULE})
+ endif(${FILENAME} STREQUAL "libintl.h")
endif(FOUND_${FILENAME}_INCLUDE)
endif(CHECK_ANGLE_INCLUDES)
endif(QUOTE_TYPE STREQUAL "angle brackets")