Skip to content

Commit

Permalink
use vcpkg for more packages
Browse files Browse the repository at this point in the history
  • Loading branch information
DubbleClick committed Nov 11, 2024
1 parent 485ecd1 commit 29a4672
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 188 deletions.
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ set(CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR}/bin/install)
add_compile_options(/MP /permissive-)

list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
include(libzippp)
include(minhook)
find_package(libzippp CONFIG REQUIRED)
find_package(minhook CONFIG REQUIRED)
find_package(Microsoft.GSL CONFIG REQUIRED)
include(dxtk)
include(msgsl)

add_library(gMod SHARED)

Expand All @@ -56,9 +56,9 @@ target_compile_options(gMod PRIVATE /W4 /WX)

target_link_libraries(gMod PRIVATE
dxguid
libzippp
libzippp::libzippp
psapi
minhook
minhook::minhook
directxtex
Microsoft.GSL::GSL
)
Expand Down
2 changes: 1 addition & 1 deletion TpfConvert/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ endif()
find_package(dxsdk-d3dx CONFIG REQUIRED)

target_link_libraries(TpfConvert PRIVATE
libzippp
libzippp::libzippp
Microsoft::D3DX9
d3d9
)
65 changes: 0 additions & 65 deletions cmake/libzip.cmake

This file was deleted.

42 changes: 0 additions & 42 deletions cmake/libzippp.cmake

This file was deleted.

16 changes: 0 additions & 16 deletions cmake/minhook.cmake

This file was deleted.

11 changes: 0 additions & 11 deletions cmake/msgsl.cmake

This file was deleted.

47 changes: 0 additions & 47 deletions cmake/zlib.cmake

This file was deleted.

5 changes: 4 additions & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"dependencies": [
"dxsdk-d3dx"
"dxsdk-d3dx",
"libzippp",
"minhook",
"ms-gsl"
]
}

0 comments on commit 29a4672

Please sign in to comment.