Skip to content

Commit

Permalink
vcpkg removed triplet from usage.in
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Nov 2, 2023
1 parent d899a89 commit 941392c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion cmake/Modules/TinyInitDefaultVariables.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ $<SHELL_PATH:${${TinyOrm_ns}_BINARY_DIR}/tests/${TinyUtils_ns}>${TINY_PATH_SEPAR
if(NOT TINY_VCPKG)
set(TINY_VCPKG FALSE)
set(TINY_PORT TINY_PORT-NOTFOUND)
set(TINY_TARGET_TRIPLET TARGET_TRIPLET-NOTFOUND)
endif()

# Specifies which global constant types will be used
Expand Down
2 changes: 0 additions & 2 deletions cmake/vcpkg/ports/tinyorm-qt5/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ vcpkg_cmake_configure(
-DTINY_VCPKG:BOOL=ON
-DVERBOSE_CONFIGURE:BOOL=ON
${FEATURE_OPTIONS}
OPTIONS_RELEASE
-DTINY_TARGET_TRIPLET:STRING=${TARGET_TRIPLET}
)

vcpkg_cmake_install()
Expand Down
2 changes: 0 additions & 2 deletions cmake/vcpkg/ports/tinyorm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ vcpkg_cmake_configure(
-DTINY_VCPKG:BOOL=ON
-DVERBOSE_CONFIGURE:BOOL=ON
${FEATURE_OPTIONS}
OPTIONS_RELEASE
-DTINY_TARGET_TRIPLET:STRING=${TARGET_TRIPLET}
)

vcpkg_cmake_install()
Expand Down
2 changes: 1 addition & 1 deletion cmake/vcpkg/usage.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The @TINY_PORT@:@TINY_TARGET_TRIPLET@ port provides the following CMake targets:
The @TINY_PORT@ port provides the following CMake targets:

find_package(@TinyOrm_ns@ @tinyOrmPackageVersion@ CONFIG REQUIRED)
target_link_libraries(main PRIVATE @TinyOrm_ns@::@TinyOrm_target@)

0 comments on commit 941392c

Please sign in to comment.