Skip to content

Commit

Permalink
Must not check for CBuilder platform if we are not a CBuilder install…
Browse files Browse the repository at this point in the history
…, or else we are requiring CBuilder 64 when it does not even exist...
  • Loading branch information
obones committed Aug 22, 2012
1 parent adf6c5a commit b90a821
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions jcl/source/common/JclIDEUtils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2207,10 +2207,11 @@ function TJclBorRADToolInstallation.GetName: string;

function TJclBorRADToolInstallation.GetObjFolderName(APlatform: TJclBDSPlatform): string;
begin
CheckCBuilderPlatform(APlatform);

if RadToolKind = brCppBuilder then
Result := LibFolderName[APlatform] + PathAddSeparator('obj')
begin
CheckCBuilderPlatform(APlatform);
Result := LibFolderName[APlatform] + PathAddSeparator('obj');
end
else
Result := '';
end;
Expand Down

0 comments on commit b90a821

Please sign in to comment.