summaryrefslogtreecommitdiff
path: root/librabbitmq/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq/CMakeLists.txt')
-rw-r--r--librabbitmq/CMakeLists.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/librabbitmq/CMakeLists.txt b/librabbitmq/CMakeLists.txt
index d350459..1608ae8 100644
--- a/librabbitmq/CMakeLists.txt
+++ b/librabbitmq/CMakeLists.txt
@@ -55,7 +55,19 @@ if(MSVC)
endif(MSVC_VERSION LESS 1600)
endif(MSVC)
-include_directories(${SOCKET_IMPL} ${MSINTTYPES_INCLUDE})
+set(LIBRABBITMQ_INCLUDE_DIRS
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${SOCKET_IMPL}
+ ${MSINTTYPES_INCLUDE}
+ )
+
+include_directories(${LIBRABBITMQ_INCLUDE_DIRS})
+
+set(LIBRABBITMQ_INCLUDE_DIRS
+ ${LIBRABBITMQ_INCLUDE_DIRS}
+ PARENT_SCOPE)
+
add_definitions(-DBUILDING_LIBRABBITMQ)
set(RABBITMQ_SOURCES