summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-01-13 14:44:03 +0100
committerMattes D <github@xoft.cz>2015-01-22 20:12:53 +0100
commit5cc8d82a23b89776d2e61d69e1d9fd31fbb10039 (patch)
tree15f183f131caeed943dec53e93c9ac0a7c91335b
parentcNetwork: Fixed compilation. (diff)
downloadcuberite-5cc8d82a23b89776d2e61d69e1d9fd31fbb10039.tar
cuberite-5cc8d82a23b89776d2e61d69e1d9fd31fbb10039.tar.gz
cuberite-5cc8d82a23b89776d2e61d69e1d9fd31fbb10039.tar.bz2
cuberite-5cc8d82a23b89776d2e61d69e1d9fd31fbb10039.tar.lz
cuberite-5cc8d82a23b89776d2e61d69e1d9fd31fbb10039.tar.xz
cuberite-5cc8d82a23b89776d2e61d69e1d9fd31fbb10039.tar.zst
cuberite-5cc8d82a23b89776d2e61d69e1d9fd31fbb10039.zip
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d7a34c14..5b3fd5e7d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -130,6 +130,9 @@ set(SQLITECPP_INCLUDES "${SQLITECPP_INCLUDES}" "${CMAKE_CURRENT_SOURCE_DIR}/lib/
set_property(DIRECTORY lib/SQLiteCpp/ PROPERTY INCLUDE_DIRECTORIES "${SQLITECPP_INCLUDES}")
set_property(TARGET SQLiteCpp PROPERTY INCLUDE_DIRECTORIES "${SQLITECPP_INCLUDES}")
+# Add proper includes for LibEvent's event-config.h header:
+include_directories(SYSTEM ${LIBEVENT_INCLUDE_DIRS})
+
if (WIN32)
add_subdirectory(lib/luaproxy/)
endif()