cmake magick to make package usable and discoverable by another CMake projects, readme, pkgbuild
This commit is contained in:
parent
7377f13534
commit
f5612dc3c5
6 changed files with 161 additions and 22 deletions
|
@ -29,9 +29,9 @@ set(HEADERS
|
|||
operators.hpp
|
||||
)
|
||||
|
||||
target_sources(lmdbal PRIVATE
|
||||
target_sources(${PROJECT_NAME} PRIVATE
|
||||
${SOURCES}
|
||||
${HEADERS}
|
||||
)
|
||||
|
||||
set_target_properties(lmdbal PROPERTIES PUBLIC_HEADER "${HEADERS}")
|
||||
install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_LOW})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue