Fixed linkage [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-07-25 21:32:52 +03:00
parent b52d2eab51
commit 6851a7754a
2 changed files with 7 additions and 3 deletions

View File

@ -60,7 +60,7 @@ list (APPEND dbms_sources ${CONFIG_BUILD})
list (APPEND dbms_headers ${CONFIG_VERSION} ${CONFIG_COMMON})
list (APPEND dbms_sources src/Functions/IFunction.cpp src/Functions/FunctionFactory.cpp src/Functions/FunctionHelpers.cpp)
list (APPEND dbms_headers src/Functions/IFunction.h src/Functions/FunctionFactory.h src/Functions/FunctionHelpers.h)
list (APPEND dbms_headers src/Functions/IFunction.h src/Functions/FunctionFactory.h src/Functions/FunctionHelpers.h)
list (APPEND dbms_sources
src/AggregateFunctions/AggregateFunctionFactory.cpp
@ -70,7 +70,8 @@ list (APPEND dbms_sources
src/AggregateFunctions/AggregateFunctionForEach.cpp
src/AggregateFunctions/AggregateFunctionIf.cpp
src/AggregateFunctions/AggregateFunctionMerge.cpp
src/AggregateFunctions/AggregateFunctionCount.cpp)
src/AggregateFunctions/AggregateFunctionCount.cpp
src/AggregateFunctions/parseAggregateFunctionParameters.cpp)
list (APPEND dbms_headers
src/AggregateFunctions/IAggregateFunction.h
@ -81,7 +82,8 @@ list (APPEND dbms_headers
src/AggregateFunctions/AggregateFunctionForEach.h
src/AggregateFunctions/AggregateFunctionIf.h
src/AggregateFunctions/AggregateFunctionMerge.h
src/AggregateFunctions/AggregateFunctionCount.h)
src/AggregateFunctions/AggregateFunctionCount.h
src/AggregateFunctions/parseAggregateFunctionParameters.h)
list (APPEND dbms_sources src/TableFunctions/TableFunctionFactory.cpp)
list (APPEND dbms_headers src/TableFunctions/ITableFunction.h src/TableFunctions/TableFunctionFactory.h)

View File

@ -10,6 +10,7 @@ list(REMOVE_ITEM clickhouse_aggregate_functions_sources
AggregateFunctionIf.cpp
AggregateFunctionMerge.cpp
AggregateFunctionCount.cpp
parseAggregateFunctionParameters.cpp
)
list(REMOVE_ITEM clickhouse_aggregate_functions_headers
@ -22,6 +23,7 @@ list(REMOVE_ITEM clickhouse_aggregate_functions_headers
AggregateFunctionIf.h
AggregateFunctionMerge.h
AggregateFunctionCount.h
parseAggregateFunctionParameters.h
)
add_library(clickhouse_aggregate_functions ${clickhouse_aggregate_functions_sources})