mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
binpac: Install headers to alternate path as part of Bro sub-project
This commit is contained in:
parent
eea32ada6d
commit
721ea63a33
1 changed files with 7 additions and 1 deletions
|
@ -30,7 +30,13 @@ add_library(binpac_lib STATIC ${binpac_lib_SRCS})
|
||||||
set_target_properties(binpac_lib PROPERTIES OUTPUT_NAME binpac)
|
set_target_properties(binpac_lib PROPERTIES OUTPUT_NAME binpac)
|
||||||
|
|
||||||
install(TARGETS binpac_lib DESTINATION lib)
|
install(TARGETS binpac_lib DESTINATION lib)
|
||||||
install(FILES ${binpac_headers} DESTINATION include)
|
|
||||||
|
if ( BRO_ROOT_DIR )
|
||||||
|
# Installed in binpac subdir just for organization purposes.
|
||||||
|
install(FILES ${binpac_headers} DESTINATION include/binpac)
|
||||||
|
else ()
|
||||||
|
install(FILES ${binpac_headers} DESTINATION include)
|
||||||
|
endif ()
|
||||||
|
|
||||||
# This is set to assist superprojects that want to build BinPac
|
# This is set to assist superprojects that want to build BinPac
|
||||||
# from source and rely on it as a target
|
# from source and rely on it as a target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue