mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-12 22:10:12 -04:00
Fixup make install for cmake projects
Install all of the public headers and put the dll's in the same directory as the binaries.
This commit is contained in:
parent
dc82c8d372
commit
73474042fe
@ -533,6 +533,8 @@ set(HDR_PUBLIC
|
||||
include/event2/tag_compat.h
|
||||
include/event2/thread.h
|
||||
include/event2/util.h
|
||||
include/event2/visibility.h
|
||||
${PROJECT_BINARY_DIR}/include/event2/event-config.h
|
||||
)
|
||||
|
||||
set(SRC_CORE
|
||||
@ -1114,7 +1116,7 @@ set_target_properties(event event_core event_extra
|
||||
#
|
||||
install(TARGETS event event_core event_extra
|
||||
EXPORT LibeventTargets
|
||||
RUNTIME DESTINATION "${EVENT_INSTALL_LIB_DIR}" COMPONENT bin
|
||||
RUNTIME DESTINATION "${EVENT_INSTALL_BIN_DIR}" COMPONENT bin
|
||||
LIBRARY DESTINATION "${EVENT_INSTALL_LIB_DIR}" COMPONENT lib
|
||||
ARCHIVE DESTINATION "${EVENT_INSTALL_LIB_DIR}" COMPONENT lib
|
||||
PUBLIC_HEADER DESTINATION "${EVENT_INSTALL_INCLUDE_DIR}/event2" COMPONENT dev)
|
||||
|
Loading…
x
Reference in New Issue
Block a user