diff options
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 93ccb9a..69ff32d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,5 +1,12 @@ include_directories(${LIBRABBITMQ_INCLUDE_DIRS}) +if (MSVC) + # No version of MSVC has inttypes.h, this uses the msinttypes + # Note this includes stdint.h which is either in + # ../librabbitmq/win32/msinttypes or in a standard location + include_directories(win32/msinttypes) +endif (MSVC) + add_executable(test_parse_url test_parse_url.c) target_link_libraries(test_parse_url rabbitmq) add_test(parse_url test_parse_url) |