diff options
author | Alan Antonuk <aega@med.umich.edu> | 2011-06-06 17:25:25 -0400 |
---|---|---|
committer | Alan Antonuk <aega@med.umich.edu> | 2011-06-06 17:25:25 -0400 |
commit | de2436dbc025f23ed51bee65ceff4c6219cfcbed (patch) | |
tree | 91a381c28cf064b5be26dfa7a8440c9ff99ee13e /CMakeLists.txt | |
parent | e054a2e4f24d56ff3d737df9776d6ffeb829e2aa (diff) | |
download | rabbitmq-c-github-ask-de2436dbc025f23ed51bee65ceff4c6219cfcbed.tar.gz |
Changes to support building on Win32/64
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) |