mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-11-30 15:41:30 +00:00
- removed hardcoded include and lib directories from install target
This resolves #7
This commit is contained in:
parent
425ac9048d
commit
823d9f5d7f
1 changed files with 5 additions and 2 deletions
|
@ -174,12 +174,15 @@ if(APPLE)
|
|||
endif()
|
||||
|
||||
set_target_properties(zmusic zmusiclite PROPERTIES
|
||||
PUBLIC_HEADER ../include/zmusic.h
|
||||
VERSION ${ZMUSIC_VERSION}
|
||||
SOVERSION ${ZMUSIC_VERSION_MAJOR}
|
||||
)
|
||||
|
||||
install(TARGETS zmusic zmusiclite LIBRARY DESTINATION lib)
|
||||
install(DIRECTORY ../include/ DESTINATION include FILES_MATCHING PATTERN "*.h*")
|
||||
install(TARGETS zmusic zmusiclite
|
||||
PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
|
||||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||
)
|
||||
|
||||
source_group("MIDI Devices" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/mididevices/.+")
|
||||
source_group("MIDI Sources" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/midisources/.+")
|
||||
|
|
Loading…
Reference in a new issue