From 27378fa34e616a4dc40d943fea358eb29d1dcd56 Mon Sep 17 00:00:00 2001 From: Nobuaki Sukegawa Date: Thu, 29 Oct 2015 00:41:39 +0900 Subject: THRIFT-3398 Add CMake build for Haskell library and tests Client: Build, Haskell Patch: Nobuaki Sukegawa This closes #660 --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 44f65afbf..f3005f56e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,4 +100,11 @@ if(BUILD_PYTHON) endif() endif() +if(BUILD_HASKELL) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/lib/hs) + if(BUILD_TESTING) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/test/hs) + endif() +endif() + PRINT_CONFIG_SUMMARY() -- cgit v1.2.1