diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index cb1646d..dee6e43 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 2.6) +project(rabbitmq-c) #detect amqp_codegen directory find_path(AMQP_CODEGEN_DIR "amqp-rabbitmq-0.9.1.json" @@ -26,5 +27,8 @@ if(CHECK_PYTHON_JSON_FAILED AND CHECK_PYTHON_SIMPLEJSON_FAILED) message(FATAL_ERROR "could not find a python that can 'import simplejson") endif() +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}) +include(TestCInline) + add_subdirectory(librabbitmq) add_subdirectory(examples) |