mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
Tests: Fix FindMatlab.no_implicit_link_checks
`matlab_add_mex` uses the plain signature of `target_link_libraries`, so we need to use the plain signature also outside of `matlab_add_mex` to avoid a configuration error.
This commit is contained in:
committed by
Brad King
parent
57c6dd277e
commit
e265065ed6
@@ -58,7 +58,7 @@ endif()
|
||||
|
||||
# Link separately with Matlab::mx and Matlab::mex to ensure that compilation
|
||||
# and run of the test is successful
|
||||
target_link_libraries(cmake_matlab_test_wrapper1 PRIVATE Matlab::mx Matlab::mex)
|
||||
target_link_libraries(cmake_matlab_test_wrapper1 Matlab::mx Matlab::mex)
|
||||
|
||||
if(RUN_UNIT_TESTS)
|
||||
matlab_add_unit_test(
|
||||
|
||||
Reference in New Issue
Block a user