Unverified Commit 38192e0f authored by Jonathan Mace's avatar Jonathan Mace Committed by GitHub
Browse files

Fix main dependencies

parent 09783017
......@@ -30,7 +30,7 @@ set_target_properties(libxtrace
target_link_libraries(libxtrace Threads::Threads ${Protobuf_LIBRARIES} ${Boost_LIBRARIES} )
add_executable (main src/main.cc )
target_link_libraries(main libxtrace)
target_link_libraries(main libxtrace Threads::Threads ${Protobuf_LIBRARIES} ${Boost_LIBRARIES})
# Introduce variables:
# * CMAKE_INSTALL_LIBDIR
......@@ -46,4 +46,4 @@ install(DIRECTORY "include"
PATTERN "*.h")
install(TARGETS libxtrace DESTINATION "${CMAKE_INSTALL_LIBDIR}")
\ No newline at end of file
install(TARGETS libxtrace DESTINATION "${CMAKE_INSTALL_LIBDIR}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment