forked from bcosorg/bcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
29 lines (22 loc) · 911 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
aux_source_directory(. SRC_LIST)
file(GLOB HEADERS "*.h")
add_library(pbftseal ${SRC_LIST} ${HEADERS})
find_package(Eth)
find_package(Dev)
target_include_directories(pbftseal PRIVATE ..)
include_directories(../libodbc/include
../libodbc/include/db2_linux
../libodbc/include/ibase
../libodbc/include/infomix
../libodbc/include/mysql
../libodbc/include/odbc_linux
../libodbc/include/pgsql
../libodbc/include/sqlbase
../libodbc/include/sqllite
../libodbc/include/ss_linux
../libodbc/include/sybase)
target_link_libraries(pbftseal ${Dev_DEVCORE_LIBRARIES})
target_link_libraries(pbftseal ${Dev_DEVCRYPTO_LIBRARIES})
target_link_libraries(pbftseal ${Eth_ETHCORE_LIBRARIES})
target_link_libraries(pbftseal ${Eth_ETHEREUM_LIBRARIES})
install(TARGETS pbftseal RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib)