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 @@ -79,13 +79,13 @@ if(APPLE)
79
79
set_target_properties (LibTorchSharp PROPERTIES INSTALL_RPATH "@loader_path;@executable_path;" )
80
80
endif ()
81
81
82
- if (NOT WIN32 )
83
- # Set C++ standard
84
- set_target_properties (LibTorchSharp PROPERTIES
85
- CXX_STANDARD 17
86
- CXX_STANDARD_REQUIRED ON
87
- )
82
+ # Set C++ standard
83
+ set_target_properties (LibTorchSharp PROPERTIES
84
+ CXX_STANDARD 17
85
+ CXX_STANDARD_REQUIRED ON
86
+ )
88
87
88
+ if (NOT WIN32 )
89
89
# Add C++ specific compile options
90
90
target_compile_options (LibTorchSharp PRIVATE
91
91
$< $< COMPILE_LANGUAGE:CXX> :-std=c++17>
You can’t perform that action at this time.
0 commit comments