Skip to content

Commit

Permalink
Merge pull request #88 from robotology/fixsimulinkbuild
Browse files Browse the repository at this point in the history
Fix build when Simulink support is enabled
  • Loading branch information
traversaro authored Nov 9, 2024
2 parents d5420c2 + 6909176 commit 825b613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# GNU Lesser General Public License v2.1 or any later version.

cmake_minimum_required(VERSION 3.16...3.31)
project(blockfactory LANGUAGES CXX VERSION 1.0.0)
project(blockfactory LANGUAGES CXX VERSION 1.0.1)

if(BUILD_DOCS)
add_subdirectory(doc)
Expand Down
2 changes: 1 addition & 1 deletion sources/Simulink/src/BlockFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static void mdlInitializeSizes(SimStruct* S)

// Allocate the block from the factory. Since this object is supposed to be deleted
// by the end of this function scope, SharedLibraryClass can be used and provides RAII.
shlibpp::SharedLibraryClass<blockfactory::core::Block> block(*factory);
sharedlibpp::SharedLibraryClass<blockfactory::core::Block> block(*factory);

// Notify errors
if (!block.isValid()) {
Expand Down

0 comments on commit 825b613

Please sign in to comment.