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

Revise CMakeLists.txt again

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