From d2b41603bd42000130c224860c52273d8e7dd5f9 Mon Sep 17 00:00:00 2001 From: Rusty Sears Date: Wed, 30 Jan 2013 14:19:49 -0800 Subject: [PATCH] add commented out lines that make it easy to build stasis using G++ --- src/stasis/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/stasis/CMakeLists.txt b/src/stasis/CMakeLists.txt index ed05623..a3c5093 100644 --- a/src/stasis/CMakeLists.txt +++ b/src/stasis/CMakeLists.txt @@ -1,4 +1,4 @@ -ADD_LIBRARY(stasis util/crc32.c +SET(SOURCES util/crc32.c util/bloomFilter.c util/redblack.c util/lhtable.c @@ -71,6 +71,11 @@ ADD_LIBRARY(stasis util/crc32.c replacementPolicy/concurrentWrapper.c replacementPolicy/clock.c ) + +ADD_LIBRARY(stasis ${SOURCES}) +#SET_SOURCE_FILES_PROPERTIES( ${SOURCES} PROPERTIES LANGUAGE "CXX" ) +#SET_TARGET_PROPERTIES(stasis PROPERTIES LINKER_LANGUAGE "CXX") + IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") ADD_LIBRARY(stasis_experimental experimental/consumer.c