Commit cf312a29 authored by DEPRECATED (Jonathan Mace) (Use @JonathanMace instead)'s avatar DEPRECATED (Jonathan Mace) (Use @JonathanMace instead)
Browse files

Fix CMakeLists, I think

parent 38192e0f
......@@ -29,9 +29,6 @@ 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 Threads::Threads ${Protobuf_LIBRARIES} ${Boost_LIBRARIES})
# Introduce variables:
# * CMAKE_INSTALL_LIBDIR
# * CMAKE_INSTALL_BINDIR
......@@ -47,3 +44,7 @@ install(DIRECTORY "include"
install(TARGETS libxtrace DESTINATION "${CMAKE_INSTALL_LIBDIR}")
add_executable (main src/main.cc )
target_link_libraries(main Threads::Threads ${Protobuf_LIBRARIES} ${Boost_LIBRARIES} libxtrace)
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