summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tests/FindMatlab/no_implicit_link_checks/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/FindMatlab/no_implicit_link_checks/CMakeLists.txt b/Tests/FindMatlab/no_implicit_link_checks/CMakeLists.txt
index 58db0ec..7e1bbae 100644
--- a/Tests/FindMatlab/no_implicit_link_checks/CMakeLists.txt
+++ b/Tests/FindMatlab/no_implicit_link_checks/CMakeLists.txt
@@ -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(