File tree Expand file tree Collapse file tree 5 files changed +49
-0
lines changed Expand file tree Collapse file tree 5 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ vcpkg_from_github (
2
+ OUT_SOURCE_PATH
3
+ SOURCE_PATH
4
+ REPO
5
+ conan-io/cmake-conan
6
+ REF
7
+ ${VERSION}
8
+ SHA512
9
+ 29ccceaa0b7fe42b0c4a5f6e5ecb6579753e39371642860c93362aa14302a00081eaff348f7b0e3f3b1cfd39e530e0f4f3a5a7c0662bbdf81030b5fb352678d3
10
+ )
11
+
12
+ vcpkg_cmake_module (PATH_LIST ${SOURCE_PATH} /conan.cmake )
13
+
14
+ file (INSTALL ${CMAKE_CURRENT_LIST_DIR} /usage
15
+ DESTINATION ${CURRENT_PACKAGES_DIR} /share/${PORT} )
16
+
17
+ vcpkg_install_copyright (FILE_LIST ${SOURCE_PATH} /LICENSE )
18
+ set (VCPKG_POLICY_EMPTY_PACKAGE enabled )
Original file line number Diff line number Diff line change
1
+ The package cmake-conan provides CMake modules:
2
+
3
+ find_package(cmake-conan REQUIRED)
4
+ # More detail can refer to <https://github.com/conan-io/cmake-conan>.
5
+ include(cmake-conan/conan)
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " cmake-conan" ,
3
+ "version" : " 0.18.1" ,
4
+ "description" : " CMake wrapper for conan C and C++ package manager" ,
5
+ "homepage" : " https://github.com/conan-io/cmake-conan" ,
6
+ "license" : " MIT" ,
7
+ "dependencies" : [
8
+ {
9
+ "name" : " vcpkg-cmake-module" ,
10
+ "host" : true
11
+ }
12
+ ]
13
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"default" : {
3
+ "cmake-conan" : {
4
+ "baseline" : " 0.18.1" ,
5
+ "port-version" : 0
6
+ },
3
7
"cmake-cpm" : {
4
8
"baseline" : " 0.38.6" ,
5
9
"port-version" : 2
Original file line number Diff line number Diff line change
1
+ {
2
+ "versions" : [
3
+ {
4
+ "git-tree" : " 8f8dd314437ecb19b345535632afa5848f462787" ,
5
+ "version" : " 0.18.1" ,
6
+ "port-version" : 0
7
+ }
8
+ ]
9
+ }
You can’t perform that action at this time.
0 commit comments