mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-11-15 00:41:36 +00:00
- enabled rpath explicitly on macOS
This commit is contained in:
parent
778d0c8faa
commit
e02e7fb1ca
1 changed files with 5 additions and 0 deletions
|
@ -164,6 +164,11 @@ if(ALSA_FOUND)
|
|||
target_link_libraries( zmusiclite ${ALSA_LIBRARIES} )
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(zmusic PROPERTIES MACOSX_RPATH TRUE)
|
||||
set_target_properties(zmusiclite PROPERTIES MACOSX_RPATH TRUE)
|
||||
endif()
|
||||
|
||||
install(TARGETS zmusic zmusiclite LIBRARY DESTINATION lib)
|
||||
install(DIRECTORY ../include/ DESTINATION include FILES_MATCHING PATTERN "*.h*")
|
||||
|
||||
|
|
Loading…
Reference in a new issue