aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b732a5b07c..c2916eb321 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,7 +44,9 @@ endif(NOT CMAKE_USE_PTHREADS_INIT)
check_library_exists(rt clock_gettime "time.h" HAVE_CLOCK_GETTIME)
find_package(LibIntl)
-include_directories(${LibIntl_INCLUDE_DIR})
+if(LibIntl_FOUND)
+ include_directories(${LibIntl_INCLUDE_DIR})
+endif()
# Require libuv
find_package(LibUV REQUIRED)