File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,7 @@ sources:
1111 " 0.19.0 " :
1212 url : " https://github.com/getml/reflect-cpp/archive/refs/tags/v0.19.0.tar.gz"
1313 sha256 : " aad9e010a0e716ecf643a95cec2047c74ce4311accfe42b4cf888672267ab8cd"
14+ " 0.21.0 " :
15+ url : " https://github.com/getml/reflect-cpp/archive/refs/tags/v0.21.0.tar.gz"
16+ sha256 : " 007d6e44a750785cb4c94dc29f307119abde679e4b09fb72b9b5c3f0f067cab2"
17+
Original file line number Diff line number Diff line change @@ -112,7 +112,9 @@ def validate(self):
112112 minimum_version = self ._compilers_minimum_version .get (str (self .settings .compiler ), False )
113113 if minimum_version and Version (self .settings .compiler .version ) < minimum_version :
114114 raise ConanInvalidConfiguration (f"{ self .ref } requires C++20 features, which your compiler does not fully support." )
115-
115+ if Version (self .version ) < "0.22" and self .settings .compiler == "msvc" and self .options .shared :
116+ raise ConanInvalidConfiguration ("Old versions of this library do not support MSVC-shared builds" )
117+
116118 def layout (self ):
117119 cmake_layout (self , src_folder = "src" )
118120
Original file line number Diff line number Diff line change @@ -7,3 +7,5 @@ versions:
77 folder : all
88 " 0.19.0 " :
99 folder : all
10+ " 0.21.0 " :
11+ folder : all
You can’t perform that action at this time.
0 commit comments