update cmake to add LFDB and force C++11

This commit is contained in:
Grant Limberg 2019-08-01 14:36:35 -07:00
parent c2f9aab068
commit 39ad7bc741
4 changed files with 11 additions and 2 deletions

View file

@ -9,6 +9,7 @@ set(ctl_src
DB.cpp
EmbeddedNetworkController.cpp
FileDB.cpp
LFDB.cpp
RabbitMQ.cpp
)
@ -16,6 +17,7 @@ set(ctl_hdr
DB.hpp
EmbeddedNetworkController.hpp
FileDB.hpp
LFDB.hpp
RabbitMQ.hpp
)
@ -27,4 +29,6 @@ if(BUILD_CENTRAL_CONTROLLER)
set(ctl_hdr ${ctl_hdr} PostgreSQL.hpp)
endif(BUILD_CENTRAL_CONTROLLER)
add_library(${PROJECT_NAME} STATIC ${ctl_src} ${ctl_hdr})
add_library(${PROJECT_NAME} STATIC ${ctl_src} ${ctl_hdr})
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)