FindMatlab: Remove dead commented-out code

This commit is contained in:
Hermann von Kleist
2024-02-02 17:26:04 +01:00
parent 91c672e5ae
commit ab08e75921
-8
View File
@@ -1047,14 +1047,6 @@ endfunction()
#]=======================================================================]
function(matlab_add_mex)
if(NOT WIN32)
# we do not need all this on Windows
# we should use try_compile instead, the link flags are discarded from
# this compiler_flag function.
#check_cxx_compiler_flag(-Wl,--exclude-libs,ALL HAS_SYMBOL_HIDING_CAPABILITY)
endif()
set(options EXECUTABLE MODULE SHARED R2017b R2018a EXCLUDE_FROM_ALL NO_IMPLICIT_LINK_TO_MATLAB_LIBRARIES)
set(oneValueArgs NAME DOCUMENTATION OUTPUT_NAME)
set(multiValueArgs LINK_TO SRC)