File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 7171 -of "${BUILD_DIR}" \
7272 -b missing \
7373 -s "build_type=${BUILD_TYPE}" \
74- -o "&:with_tests =True" \
74+ -o "&:tests =True" \
7575 --profile:all "${CONAN_PROFILE}"
7676
7777 - name : Run CMake
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ Run following commands to build the library
63632 . Buld dependencies:
6464
6565 ``` bash
66- conan install .. --build=missing -o " &:with_tests =True"
66+ conan install .. --build=missing -o " &:tests =True"
6767 ```
6868
69693 . Run CMake:
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ class MptCryptoConan(ConanFile):
1414 options = {
1515 "shared" : [True , False ],
1616 "fPIC" : [True , False ],
17- "with_tests " : [True , False ],
17+ "tests " : [True , False ],
1818 }
1919 default_options = {
2020 "shared" : False ,
2121 "fPIC" : True ,
22- "with_tests " : False ,
22+ "tests " : False ,
2323 }
2424
2525 requires = [
@@ -37,7 +37,7 @@ def layout(self):
3737
3838 def generate (self ):
3939 tc = CMakeToolchain (self )
40- tc .variables ["ENABLE_TESTS" ] = self .options .with_tests
40+ tc .variables ["ENABLE_TESTS" ] = self .options .tests
4141 tc .generate ()
4242
4343 deps = CMakeDeps (self )
You can’t perform that action at this time.
0 commit comments