File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 87
87
<!-- we manually update these -->
88
88
<PropertyGroup Condition =" '$(MSBuildProjectName.IndexOf(`libtorch-`))' != '-1'" >
89
89
<LibTorchPackageVersion >2.2.1.1</LibTorchPackageVersion >
90
+ <PreviousPackageVersion >2.2.1.1</PreviousPackageVersion >
90
91
<VersionPrefix >$(LibTorchPackageVersion)</VersionPrefix >
91
92
<VersionSuffix ></VersionSuffix >
92
93
</PropertyGroup >
Original file line number Diff line number Diff line change 3
3
<MajorVersion >0</MajorVersion >
4
4
<MinorVersion >102</MinorVersion >
5
5
<PatchVersion >7</PatchVersion >
6
+ <PreviousPackageVersion >0.102.6</PreviousPackageVersion >
6
7
</PropertyGroup >
7
8
8
9
</Project >
Original file line number Diff line number Diff line change
1
+ <Project >
2
+ <Import Project =" ..\Directory.Build.targets" />
3
+
4
+ <PropertyGroup Condition =" '$(IsPackable)' != 'false'" >
5
+ <EnablePackageValidation >true</EnablePackageValidation >
6
+ <PackageValidationBaselineVersion >$(PreviousPackageVersion)</PackageValidationBaselineVersion >
7
+ </PropertyGroup >
8
+ </Project >
Original file line number Diff line number Diff line change @@ -78,13 +78,13 @@ if(APPLE)
78
78
set_target_properties (LibTorchSharp PROPERTIES INSTALL_RPATH "@loader_path;@executable_path;" )
79
79
endif ()
80
80
81
- if (NOT WIN32 )
82
- # Set C++ standard
83
- set_target_properties (LibTorchSharp PROPERTIES
84
- CXX_STANDARD 17
85
- CXX_STANDARD_REQUIRED ON
86
- )
81
+ # Set C++ standard
82
+ set_target_properties (LibTorchSharp PROPERTIES
83
+ CXX_STANDARD 17
84
+ CXX_STANDARD_REQUIRED ON
85
+ )
87
86
87
+ if (NOT WIN32 )
88
88
# Add C++ specific compile options
89
89
target_compile_options (LibTorchSharp PRIVATE
90
90
$< $< COMPILE_LANGUAGE:CXX> :-std=c++17>
You can’t perform that action at this time.
0 commit comments