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
1abaecef
Commit
1abaecef
authored
May 20, 2019
by
DEPRECATED (Jonathan Mace) (Use @JonathanMace instead)
Browse files
Update CMakeLists
parent
f2a481e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
1abaecef
...
...
@@ -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:
# * CMAKE_INSTALL_LIBDIR
...
...
@@ -47,4 +47,6 @@ install(TARGETS libxtrace DESTINATION "${CMAKE_INSTALL_LIBDIR}")
add_executable
(
main src/main.cc
)
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
}
)
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