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
cf312a29
Commit
cf312a29
authored
May 20, 2019
by
DEPRECATED (Jonathan Mace) (Use @JonathanMace instead)
Browse files
Fix CMakeLists, I think
parent
38192e0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
cf312a29
...
...
@@ -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
)
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