From 2283e1db52517cdf306c31361aa461e97ea55e63 Mon Sep 17 00:00:00 2001 From: 0xd34df00d <0xd34df00d@gmail.com> Date: Sat, 11 Oct 2014 14:52:28 +0400 Subject: [PATCH] Support setting custom lib version suffixes. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b36fe3455..14e38d78c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,6 +73,10 @@ if(MSVC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zc:wchar_t-") endif(MSVC) +if(CUSTOM_LASTFM_LIB_VERSION_SUFFIX) + set(LASTFM_LIB_VERSION_SUFFIX ${CUSTOM_LASTFM_LIB_VERSION_SUFFIX}) +endif(CUSTOM_LASTFM_LIB_VERSION_SUFFIX) + set(LASTFM_LIB_TARGET_NAME lastfm${LASTFM_LIB_VERSION_SUFFIX} CACHE INTERNAL "Target name of liblastfm" FORCE)