diff options
author | Silvio Traversaro <pegua1@gmail.com> | 2020-01-11 15:35:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-13 15:52:57 (GMT) |
commit | b704d58f41def99de41485af364d9c7ea46ed475 (patch) | |
tree | 31f0689ce3ebc90a60003d9731083e5fbc308845 /.hooks-config | |
parent | 512ab500f06d6c645985cc8014c5e6291b9a059f (diff) | |
download | CMake-b704d58f41def99de41485af364d9c7ea46ed475.zip CMake-b704d58f41def99de41485af364d9c7ea46ed475.tar.gz CMake-b704d58f41def99de41485af364d9c7ea46ed475.tar.bz2 |
FindMatlab: in matlab_add_mex use the correct version file
Before this modification, the c_mexapi_version.c file was added to
all mex libraries. However, if the C language was not enabled
in the CMake project configuration, the c_mexapi_version.c file
was ignored, creating linking errors in Windows and macOS.
This commit ensures that in the case only the CXX languages is enabled,
the correct version is passed.
Fixes: #19382
Diffstat (limited to '.hooks-config')
0 files changed, 0 insertions, 0 deletions