Skip to content

Commit

Permalink
vcpkg enable tom-example on windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Sep 10, 2023
1 parent 32782c1 commit f47eb19
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/vcpkg/ports/tinyorm-qt5/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ vcpkg_cmake_install()

vcpkg_cmake_config_fixup()

# https://github.com/microsoft/vcpkg/issues/33551
if(WIN32 AND TINYORM_TOM_EXAMPLE)
vcpkg_copy_tools(TOOL_NAMES tom AUTO_CLEAN)
endif()
1 change: 1 addition & 0 deletions cmake/vcpkg/ports/tinyorm-qt5/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
},
"tom-example": {
"description": "Build Tom command-line application example",
"supports": "windows",
"dependencies": [
{
"name": "tinyorm-qt5",
Expand Down
1 change: 1 addition & 0 deletions cmake/vcpkg/ports/tinyorm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ vcpkg_cmake_install()

vcpkg_cmake_config_fixup()

# https://github.com/microsoft/vcpkg/issues/33551
if(WIN32 AND TINYORM_TOM_EXAMPLE)
vcpkg_copy_tools(TOOL_NAMES tom AUTO_CLEAN)
endif()
1 change: 1 addition & 0 deletions cmake/vcpkg/ports/tinyorm/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
},
"tom-example": {
"description": "Build Tom command-line application example",
"supports": "windows",
"dependencies": [
{
"name": "tinyorm",
Expand Down

0 comments on commit f47eb19

Please sign in to comment.