Skip to content

FindMatlab: Fix -pthread check for projects with only C enabled

Ghost User requested to merge (removed):find-matlab-pthread into master
project(foo LANGUAGES C)
find_package(Matlab)
matlab_add_mex(NAME foo SRC foo.c)

currently fails during configure.

Merge request reports