mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-01-29 20:00:53 +00:00
parent
b9d22fb358
commit
4719ad44d8
2 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
|||
cmake_minimum_required( VERSION 2.8.7 )
|
||||
project(ZMusic)
|
||||
|
||||
set(ZMUSIC_VERSION_MAJOR 1)
|
||||
set(ZMUSIC_VERSION_MINOR 1)
|
||||
set(ZMUSIC_VERSION_PATCH 0)
|
||||
set(ZMUSIC_VERSION "${ZMUSIC_VERSION_MAJOR}.${ZMUSIC_VERSION_MINOR}.${ZMUSIC_VERSION_PATCH}")
|
||||
|
||||
if( COMMAND cmake_policy )
|
||||
if( POLICY CMP0011 )
|
||||
cmake_policy( SET CMP0011 NEW )
|
||||
|
|
|
@ -173,6 +173,11 @@ if(APPLE)
|
|||
set_target_properties(zmusiclite PROPERTIES MACOSX_RPATH TRUE)
|
||||
endif()
|
||||
|
||||
set_target_properties(zmusic zmusiclite PROPERTIES
|
||||
VERSION ${ZMUSIC_VERSION}
|
||||
SOVERSION ${ZMUSIC_VERSION_MAJOR}
|
||||
)
|
||||
|
||||
install(TARGETS zmusic zmusiclite LIBRARY DESTINATION lib)
|
||||
install(DIRECTORY ../include/ DESTINATION include FILES_MATCHING PATTERN "*.h*")
|
||||
|
||||
|
|
Loading…
Reference in a new issue