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

Update CMakeLists

parent f2a481e9
......@@ -27,7 +27,7 @@ set_target_properties(libxtrace
OUTPUT_NAME "xtrace"
PREFIX "lib"
target_link_libraries(libxtrace INTERFACE Threads::Threads ${Protobuf_LIBRARIES} ${Boost_LIBRARIES} )
target_link_libraries(libxtrace Threads::Threads ${Protobuf_LIBRARIES} ${Boost_LIBRARIES} )
# Introduce variables:
......@@ -47,4 +47,6 @@ install(TARGETS libxtrace DESTINATION "${CMAKE_INSTALL_LIBDIR}")
add_executable (main src/ )
target_link_libraries(main libxtrace)
target_include_directories(main PRIVATE /usr/local/include/xtrace)
target_link_libraries(main libxtrace Threads::Threads ${Protobuf_LIBRARIES} ${Boost_LIBRARIES} )
Supports Markdown
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