Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Reyhaneh Karimipour
xtrace-cpp
Commits
f2a481e9
Commit
f2a481e9
authored
May 20, 2019
by
DEPRECATED (Jonathan Mace) (Use @JonathanMace instead)
Browse files
Revise CMakeLists.txt again
parent
cf312a29
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f2a481e9
...
...
@@ -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:
# * CMAKE_INSTALL_LIBDIR
...
...
@@ -47,4 +47,4 @@ install(TARGETS libxtrace DESTINATION "${CMAKE_INSTALL_LIBDIR}")
add_executable
(
main src/main.cc
)
target_link_libraries
(
main
Threads::Threads
${
Protobuf_LIBRARIES
}
${
Boost_LIBRARIES
}
libxtrace
)
target_link_libraries
(
main libxtrace
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment