summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-12 09:25:35 +0100
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-05-12 09:25:35 +0100
commitf494c08ef20ea0057604e6f867ac439ccc088864 (patch)
treebd8423849a002abb66201e04749f1c3fec798e6a
parent57c2f4ea0148287d0bcea913cb34ba716489df4b (diff)
downloadaudiomanager-baserock/pedroalvarez/6.2-1-gf494c08.tar.gz
Fix typo s/SOUCRES/SOURCES/gbaserock/pedroalvarez/6.2-1-gf494c08
-rw-r--r--AudioManagerDaemon/CMakeLists.txt2
-rw-r--r--PluginCommandInterfaceCAPI/CMakeLists.txt2
-rw-r--r--PluginRoutingInterfaceCAPI/CMakeLists.txt2
-rwxr-xr-xcmake/CommonAPIGenerator.cmake2
4 files changed, 4 insertions, 4 deletions
diff --git a/AudioManagerDaemon/CMakeLists.txt b/AudioManagerDaemon/CMakeLists.txt
index e263aea..d62d2f8 100644
--- a/AudioManagerDaemon/CMakeLists.txt
+++ b/AudioManagerDaemon/CMakeLists.txt
@@ -162,7 +162,7 @@ IF(WITH_NSM)
# The sources can be placed in the build directory (DESTINATION) or in the source tree (ALT_DESTINATION).
# The ALT_DESTINATION is used as fall back if the DESTINATION directory dosen't contain the sources or you just don't want to use the generator.
INCLUDE(CommonAPIGenerator)
-COMMON_API_GENERATE_SOUCRES(TARGET COMMON_API
+COMMON_API_GENERATE_SOURCES(TARGET COMMON_API
FIDLS fidls/NodeStateManager.fdepl # a list with fidls
DESTINATION src-gen # a relative path to the build directory or an absolute path
ALT_DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/src-gen # an alternative relative/absolute path with common-api sources, usually in the source tree
diff --git a/PluginCommandInterfaceCAPI/CMakeLists.txt b/PluginCommandInterfaceCAPI/CMakeLists.txt
index 50224d4..34bdd0d 100644
--- a/PluginCommandInterfaceCAPI/CMakeLists.txt
+++ b/PluginCommandInterfaceCAPI/CMakeLists.txt
@@ -50,7 +50,7 @@ FIND_PACKAGE(CommonAPI REQUIRED)
# The sources can be placed in the build directory (DESTINATION) or in the source tree (ALT_DESTINATION).
# The ALT_DESTINATION is used as fall back if the DESTINATION directory dosen't contain the sources or you just don't want to use the generator.
INCLUDE(CommonAPIGenerator)
-COMMON_API_GENERATE_SOUCRES(TARGET COMMON_API_COMMAND_INTERFACE
+COMMON_API_GENERATE_SOURCES(TARGET COMMON_API_COMMAND_INTERFACE
FIDLS fidl/CommandInterface.fidl # a list with fidls
DESTINATION src-gen # a relative path to the build directory or an absolute path
ALT_DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/src-gen # an alternative relative/absolute path with common-api sources, usually in the source tree
diff --git a/PluginRoutingInterfaceCAPI/CMakeLists.txt b/PluginRoutingInterfaceCAPI/CMakeLists.txt
index c7b9594..416b9f0 100644
--- a/PluginRoutingInterfaceCAPI/CMakeLists.txt
+++ b/PluginRoutingInterfaceCAPI/CMakeLists.txt
@@ -48,7 +48,7 @@ FIND_PACKAGE(CommonAPI REQUIRED)
# The sources can be placed in the build directory (DESTINATION) or in the source tree (ALT_DESTINATION).
# The ALT_DESTINATION is used as fall back if the DESTINATION directory dosen't contain the sources or you just don't want to use the generator.
INCLUDE(CommonAPIGenerator)
-COMMON_API_GENERATE_SOUCRES(TARGET COMMON_API_ROUTING_INTERFACE
+COMMON_API_GENERATE_SOURCES(TARGET COMMON_API_ROUTING_INTERFACE
FIDLS fidl/RoutingInterface.fidl # a list with fidls
DESTINATION src-gen # a relative path to the build directory or an absolute path
ALT_DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/src-gen # an alternative relative/absolute path with common-api sources, usually in the source tree
diff --git a/cmake/CommonAPIGenerator.cmake b/cmake/CommonAPIGenerator.cmake
index e828f09..4fbba6a 100755
--- a/cmake/CommonAPIGenerator.cmake
+++ b/cmake/CommonAPIGenerator.cmake
@@ -139,7 +139,7 @@ IF(COMMON_API_FOUND AND COMMON_API_DBUS_FOUND)
SEARCH_FOR_COMMON_API_GEN_FILES(${TEMP_GEN_DST})
endmacro()
- function(COMMON_API_GENERATE_SOUCRES)
+ function(COMMON_API_GENERATE_SOURCES)
#parse the input parameters
set(options DBUS)
set(oneValueArgs TARGET DESTINATION ALT_DESTINATION HEADER_TEMPLATE)