Browse Source

FindMatlab: remove SIMULINK path from cache when FindMatlab is reconfigured

Raffi Enficiaud 9 years ago
parent
commit
e8893030e6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/FindMatlab.cmake

+ 1 - 0
Modules/FindMatlab.cmake

@@ -1260,6 +1260,7 @@ if(DEFINED Matlab_ROOT_DIR_LAST_CACHED)
         Matlab_ENG_LIBRARY
         Matlab_MAT_LIBRARY
         Matlab_MEX_EXTENSION
+        Matlab_SIMULINK_INCLUDE_DIR
 
         # internal
         Matlab_MEXEXTENSIONS_PROG