aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-03 18:46:59 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-03 18:46:59 +0300
commitf6249a750f4dcb246c30ee97f5a13ca5e4c7a466 (patch)
tree97e811deed33c313c8a5d2ef3f0afef97ec06227
parentcc75a4de42b54eb096b8b9222b86a4f15c9684df (diff)
downloadlibADLMIDI-f6249a750f4dcb246c30ee97f5a13ca5e4c7a466.tar.gz
libADLMIDI-f6249a750f4dcb246c30ee97f5a13ca5e4c7a466.tar.bz2
libADLMIDI-f6249a750f4dcb246c30ee97f5a13ca5e4c7a466.zip
Small beautifying in CMakeLists.txt
-rw-r--r--CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5520399..29b5110 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -489,14 +489,14 @@ if(WITH_VLC_PLUGIN)
endif()
if(WITH_HQ_RESAMPLER)
- find_library(ZITA_RESAMPLER_LIBRARY "zita-resampler" REQUIRED)
- add_definitions(-DADLMIDI_ENABLE_HQ_RESAMPLER)
- if(libADLMIDI_SHARED)
- target_link_libraries(ADLMIDI_shared PUBLIC "${ZITA_RESAMPLER_LIBRARY}")
- endif()
- if(libADLMIDI_STATIC)
- target_link_libraries(ADLMIDI_static PUBLIC "${ZITA_RESAMPLER_LIBRARY}")
- endif()
+ find_library(ZITA_RESAMPLER_LIBRARY "zita-resampler" REQUIRED)
+ add_definitions(-DADLMIDI_ENABLE_HQ_RESAMPLER)
+ if(libADLMIDI_SHARED)
+ target_link_libraries(ADLMIDI_shared PUBLIC "${ZITA_RESAMPLER_LIBRARY}")
+ endif()
+ if(libADLMIDI_STATIC)
+ target_link_libraries(ADLMIDI_static PUBLIC "${ZITA_RESAMPLER_LIBRARY}")
+ endif()
endif()
install(TARGETS ${libADLMIDI_INSTALLS}