Skip to content

Commit

Permalink
Update Stereolabs.Build.cs
Browse files Browse the repository at this point in the history
* Make it compatible with CUDA 9.2 (with the path)
* Add comments to make it compatible with CUDA 9.0 if used
  • Loading branch information
obraun-sl authored Aug 1, 2018
1 parent 195cb0e commit aeb35ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Stereolabs/Source/Stereolabs/Stereolabs.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ private string ModulePath

public Stereolabs(ReadOnlyTargetRules Target) : base(Target)
{
string CudaSDKPath = System.Environment.GetEnvironmentVariable("CUDA_PATH_V9_1", EnvironmentVariableTarget.Machine);
// Note : if using CUFDA 9.0 , change "CUDA_PATH_V9_2" to "CUDA_PATH_V9_0"
string CudaSDKPath = System.Environment.GetEnvironmentVariable("CUDA_PATH_V9_2", EnvironmentVariableTarget.Machine);
string ZEDSDKPath = System.Environment.GetEnvironmentVariable("ZED_SDK_ROOT_DIR", EnvironmentVariableTarget.Machine);

PublicIncludePaths.AddRange(
Expand Down

0 comments on commit aeb35ff

Please sign in to comment.