-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): Reactivate building of Debian packages
- Loading branch information
Showing
13 changed files
with
185 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,2 @@ | ||
@PACKAGE_INIT@ | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/open62541Targets.cmake") | ||
|
||
set (open62541_TOOLS_DIR @PACKAGE_open62541_install_tools_dir@ CACHE PATH "Path to the directory that contains the tooling of the stack") | ||
set (UA_NODESET_DIR @PACKAGE_open62541_install_nodeset_dir@ CACHE PATH "Path to the directory that contains the OPC UA schema repository") | ||
|
||
include(CMakeFindDependencyMacro) | ||
find_dependency(PythonInterp 3 REQUIRED) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/open62541Macros.cmake") | ||
|
||
set(open62541_COMPONENTS_ALL @open62541_enabled_components@) | ||
|
||
# find_dependency has no option to provide hints for modules, so temporary add the path to CMAKE_MODULE_PATH | ||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}) | ||
list (FIND open62541_COMPONENTS_ALL "EncryptionMbedTLS" _index) | ||
if((${_index} GREATER 0) OR (${_index} EQUAL 0)) | ||
find_dependency(MbedTLS REQUIRED) | ||
endif() | ||
|
||
list(REMOVE_AT CMAKE_MODULE_PATH -1) | ||
|
||
foreach(_comp ${open62541_FIND_COMPONENTS}) | ||
list (FIND open62541_COMPONENTS_ALL "${_comp}" _index) | ||
if (${_index} LESS 0) | ||
set(open62541_FOUND False) | ||
set(open62541_NOTFOUND_MESSAGE "Unsupported open62541 component: ${_comp}") | ||
message(WARNING "${open62541_NOTFOUND_MESSAGE}") | ||
endif() | ||
endforeach() |
Oops, something went wrong.