diff --git a/CMakeLists.txt b/CMakeLists.txt
index c12f2ae..3eb0712 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
enable_language(CXX)
-find_package(kodi REQUIRED)
+find_package(Kodi REQUIRED)
find_package(kodiplatform REQUIRED)
find_package(p8-platform REQUIRED)
diff --git a/adsp.freesurround/addon.xml b/adsp.freesurround/addon.xml.in
similarity index 81%
rename from adsp.freesurround/addon.xml
rename to adsp.freesurround/addon.xml.in
index 65438a5..00343f8 100644
--- a/adsp.freesurround/addon.xml
+++ b/adsp.freesurround/addon.xml.in
@@ -10,17 +10,13 @@
+ library_@PLATFORM@="@LIBRARY_FILENAME@"/>
Free Surround Audio DSP Processor
FreeSurround is meant to be the KODI equivalent of your hi-fi receiver's Dolby ProLogic II button.
It's purpose is to decode surround information from your stereo music and to produce multichannel output from it.
This is a open source audio dsp processing system, based upon work from pro_optimizer on foobar2000
- all
+ @PLATFORM@
GNU GENERAL PUBLIC LICENSE. Version 3, June 2007
http://forum.kodi.tv/forumdisplay.php?fid=235
diff --git a/src/ChannelMaps.h b/src/ChannelMaps.h
index 9cf4989..4dc5207 100644
--- a/src/ChannelMaps.h
+++ b/src/ChannelMaps.h
@@ -28,7 +28,7 @@
#include
#include