Skip to content

Commit

Permalink
Fix configuration with CMake < 3.24
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Jan 16, 2024
1 parent 757cf45 commit 5b14811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/matlab/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ macro(GET_LIBRARY_FROM_SWIG_WRAPPER i_main_file i_other_files target_name genera
PROPERTY SWIG_DEPENDS ${i_other_files})
else()
if(${target_name} STREQUAL "iDynTreeMEX")
matlab_add_mex(NAME ${target_name} SRC ${swig_generated_sources} NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES)
matlab_add_mex(NAME ${target_name} NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES SRC ${swig_generated_sources})
else()
add_library(${target_name} MODULE ${swig_generated_sources})
endif()
Expand Down

0 comments on commit 5b14811

Please sign in to comment.