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
38192e0f
Unverified
Commit
38192e0f
authored
May 17, 2019
by
Jonathan Mace
Committed by
GitHub
May 17, 2019
Browse files
Fix main dependencies
parent
09783017
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
38192e0f
...
...
@@ -30,7 +30,7 @@ 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
)
target_link_libraries
(
main libxtrace
Threads::Threads
${
Protobuf_LIBRARIES
}
${
Boost_LIBRARIES
}
)
# Introduce variables:
# * CMAKE_INSTALL_LIBDIR
...
...
@@ -46,4 +46,4 @@ install(DIRECTORY "include"
PATTERN
"*.h"
)
install
(
TARGETS libxtrace DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
)
\ No newline at end of file
install
(
TARGETS libxtrace DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
)
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