diff options
-rw-r--r-- | AudioManagerDaemon/CMakeLists.txt | 2 | ||||
-rw-r--r-- | PluginCommandInterfaceCAPI/CMakeLists.txt | 2 | ||||
-rw-r--r-- | PluginRoutingInterfaceCAPI/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | cmake/CommonAPIGenerator.cmake | 2 |
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) |