From 821daf87bba5fa47a2ef856d5fb0817a2746800f Mon Sep 17 00:00:00 2001 From: aymanhab Date: Sat, 14 Dec 2024 12:38:12 -0800 Subject: [PATCH] initialize api_distro to false on windows as layout doesn't change between api and app --- Bindings/Java/Matlab/configureOpenSim.m.in | 1 + 1 file changed, 1 insertion(+) diff --git a/Bindings/Java/Matlab/configureOpenSim.m.in b/Bindings/Java/Matlab/configureOpenSim.m.in index b92d77426c..aac289933f 100644 --- a/Bindings/Java/Matlab/configureOpenSim.m.in +++ b/Bindings/Java/Matlab/configureOpenSim.m.in @@ -114,6 +114,7 @@ try % This function returns all but the leaf element of the provided path. openSimFolder = fileparts(openSimFolder); end + api_distro = false; % For this to be an OpenSim installation, there must be a buildinfo file. buildInfoFile = fullfile(openSimFolder, '@CMAKE_INSTALL_SYSCONFDIR@', ... 'OpenSim_buildinfo.txt');