File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -755,21 +755,16 @@ target_link_libraries(your_target sobjectizer::SharedLib) # or sobjectizer::Stat
755
755
756
756
### Using via Conan
757
757
758
- #### Installing SObjectizer And Adding It To conanfile.txt
759
-
760
- To use SObjectizer via Conan it is necessary to do the following steps:
758
+ ** NOTE.** Since Feb 2021 new versions of SObjectizer are available via [ conan-center] ( https://conan.io/center/ ) only.
761
759
762
- Add the corresponding remote to your conan:
763
-
764
- ``` sh
765
- conan remote add stiffstream https://api.bintray.com/conan/stiffstream/public
766
- ```
760
+ #### Installing SObjectizer And Adding It To conanfile.txt
767
761
768
- Add SObjectizer to ` conanfile.txt ` of your project:
762
+ To use SObjectizer via Conan it is necessary to add SObjectizer to
763
+ ` conanfile.txt ` of your project:
769
764
770
765
```
771
766
[requires]
772
- sobjectizer/5.7.0@stiffstream/stable
767
+ sobjectizer/5.7.2.3
773
768
```
774
769
775
770
It also may be necessary to specify ` shared ` option for SObjectizer. For example, for build SObjectizer as a static library:
@@ -787,16 +782,13 @@ conan install SOME_PATH --build=missing
787
782
788
783
#### Adding SObjectizer To Your CMakeLists.txt
789
784
790
- Please note that SObjectizer should be added to your ` CMakeLists.txt ` via ` find_package ` command:
791
-
792
785
``` cmake
793
786
...
794
787
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
795
788
conan_basic_setup()
796
789
797
- find_package(sobjectizer CONFIG REQUIRED)
798
790
...
799
- target_link_libraries(your_target sobjectizer::SharedLib) # Or sobjectizer::StaticLib
791
+ target_link_libraries(your_target ${CONAN_LIBS})
800
792
```
801
793
802
794
# License
You can’t perform that action at this time.
0 commit comments