Skip to content

Commit

Permalink
Differentiate x86 and x64 targets for USVFS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 committed Jul 4, 2024
1 parent 1d22033 commit 3b9420f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/usvfs_dll/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ set_target_properties(usvfs_dll
RUNTIME_OUTPUT_DIRECTORY_DEBUG ${USVFS_LIBDIR}
RUNTIME_OUTPUT_DIRECTORY_RELEASE ${USVFS_LIBDIR})

install(TARGETS usvfs_dll EXPORT usvfsTargets FILE_SET HEADERS)
install(EXPORT usvfsTargets
FILE usvfsTargets.cmake
install(TARGETS usvfs_dll EXPORT usvfs${ARCH_POSTFIX}Targets FILE_SET HEADERS)
install(EXPORT usvfs${ARCH_POSTFIX}Targets
FILE usvfs${ARCH_POSTFIX}Targets.cmake
NAMESPACE usvfs${ARCH_POSTFIX}::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/usvfs
)
2 changes: 1 addition & 1 deletion src/usvfs_proxy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ set_target_properties(usvfs_proxy
RUNTIME_OUTPUT_DIRECTORY_RELEASE ${USVFS_BINDIR}
)

install(TARGETS usvfs_proxy)
install(TARGETS usvfs_proxy EXPORT usvfs${ARCH_POSTFIX}Targets)

0 comments on commit 3b9420f

Please sign in to comment.