@@ -4,13 +4,16 @@ package("xproperty")
4
4
set_description (" Traitlets-like C++ properties and implementation of the observer pattern" )
5
5
set_license (" BSD-3-Clause" )
6
6
7
- add_urls (" https://github.com/jupyter-xeus/xproperty.git " )
8
- add_versions ( " 2021.04.13 " , " 4e5cc851733ad5f57dd75c33d3beb75aba2569aa " )
7
+ add_urls (" https://github.com/jupyter-xeus/xproperty/archive/refs/tags/$(version).tar.gz " ,
8
+ " https://github.com/jupyter-xeus/xproperty.git " )
9
9
10
- add_deps ( " cmake " , " xtl " )
10
+ add_versions ( " 0.12.0 " , " 27cbc8e441dcc515a1ebbf11bad5ef240748d32f5e1adf84deed87a1dc57a440 " )
11
11
12
- on_install (" windows" , " linux" , " macosx" , function (package )
13
- import (" package.tools.cmake" ).install (package )
12
+ add_deps (" cmake" )
13
+ add_deps (" nlohmann_json" )
14
+
15
+ on_install (function (package )
16
+ import (" package.tools.cmake" ).install (package , {" -DCMAKE_POLICY_DEFAULT_CMP0057=NEW" })
14
17
end )
15
18
16
19
on_test (function (package )
@@ -25,5 +28,5 @@ package("xproperty")
25
28
Foo foo;
26
29
XOBSERVE(foo, bar, [](Foo& f){});
27
30
}
28
- ]] }, {configs = {languages = " c++14 " }}))
31
+ ]] }, {configs = {languages = " c++17 " }}))
29
32
end )
0 commit comments