Skip to content

Commit 3375cc0

Browse files
committed
Added Matlab_ROOT_DIR to initial_cache template
For system where Matlab is not found automatically.
1 parent 26a88a7 commit 3375cc0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

initial_cache.cmake.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
# ==============================
2525
#set(PYTHON_EXECUTABLE "C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python35\\python.exe" CACHE PATH "Path to the python interpreter." FORCE)
2626

27+
# Set the path to the Matlab root directory if you want to build the Matlab bindings and it doesn't find Matlab automatically:
28+
# ==============================
29+
#set(Matlab_ROOT_DIR "/opt/matlab" CACHE PATH "Path to the Matlab installation directory." FORCE)
30+
2731
# Configuration options
2832
# ==============================
2933
set(BUILD_EXAMPLES ON CACHE BOOL "Build the example applications." FORCE)

0 commit comments

Comments
 (0)