1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

fix linked libraries on ubuntu

This commit is contained in:
Oliver Giles 2015-11-19 21:44:18 +01:00
parent fadabbf9f6
commit f9ce571da5

View File

@ -84,11 +84,11 @@ generate_compressed_bins(${CMAKE_BINARY_DIR} js/angular.min.js js/angular-route.
add_executable(laminard src/database.cpp src/main.cpp src/server.cpp src/laminar.cpp add_executable(laminard src/database.cpp src/main.cpp src/server.cpp src/laminar.cpp
src/conf.cpp src/resources.cpp src/run.cpp laminar.capnp.c++ ${COMPRESSED_BINS}) src/conf.cpp src/resources.cpp src/run.cpp laminar.capnp.c++ ${COMPRESSED_BINS})
# TODO: some alternative to boost::filesystem? # TODO: some alternative to boost::filesystem?
target_link_libraries(laminard capnp capnp-rpc kj-async kj boost_filesystem boost_system sqlite3) target_link_libraries(laminard capnp-rpc capnp kj-async kj pthread boost_filesystem boost_system sqlite3)
## Client ## Client
add_executable(laminarc src/client.cpp laminar.capnp.c++) add_executable(laminarc src/client.cpp laminar.capnp.c++)
target_link_libraries(laminarc capnp capnp-rpc kj-async kj) target_link_libraries(laminarc capnp-rpc capnp kj-async kj pthread)
install(TARGETS laminard laminarc RUNTIME DESTINATION usr/bin) install(TARGETS laminard laminarc RUNTIME DESTINATION usr/bin)
install(FILES laminar.service DESTINATION usr/lib/systemd/system) install(FILES laminar.service DESTINATION usr/lib/systemd/system)