Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
8efa0ec1
Commit
8efa0ec1
authored
Oct 29, 2020
by
Hubert Chathi
Browse files
Use current source directory in CMake. Thanks to Gorgurov Alexey.
parent
c5ab3ecb
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8efa0ec1
...
...
@@ -79,11 +79,11 @@ install(TARGETS olm
# The exported target will be named Olm.
set_target_properties
(
olm PROPERTIES EXPORT_NAME Olm
)
install
(
FILES
${
CMAKE_SOURCE_DIR
}
/include/olm/olm.h
${
CMAKE_SOURCE_DIR
}
/include/olm/outbound_group_session.h
${
CMAKE_SOURCE_DIR
}
/include/olm/inbound_group_session.h
${
CMAKE_SOURCE_DIR
}
/include/olm/pk.h
${
CMAKE_SOURCE_DIR
}
/include/olm/sas.h
${
CMAKE_
CURRENT_
SOURCE_DIR
}
/include/olm/olm.h
${
CMAKE_
CURRENT_
SOURCE_DIR
}
/include/olm/outbound_group_session.h
${
CMAKE_
CURRENT_
SOURCE_DIR
}
/include/olm/inbound_group_session.h
${
CMAKE_
CURRENT_
SOURCE_DIR
}
/include/olm/pk.h
${
CMAKE_
CURRENT_
SOURCE_DIR
}
/include/olm/sas.h
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/olm
)
# Export the targets to a script.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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