Skip to content

Commit

Permalink
Use built DirectXTex. (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Holt59 authored Jul 1, 2024
1 parent a9ff8b6 commit 2ee77e4
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 1,195 deletions.
15 changes: 0 additions & 15 deletions cmake/FindDirectXTex.cmake

This file was deleted.

15 changes: 0 additions & 15 deletions cmake/GoogleTest-CMakeLists.txt.in

This file was deleted.

Binary file removed lib/DirectXTex.lib
Binary file not shown.
Binary file removed lib/DirectXTex.pdb
Binary file not shown.
5 changes: 1 addition & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ cmake_minimum_required(VERSION 3.16)

add_library(bsa_packer SHARED)
mo2_configure_plugin(bsa_packer WARNINGS OFF
PUBLIC_DEPENDS libbsarch
PRIVATE_DEPENDS boost Qt::Concurrent)
PRIVATE_DEPENDS boost Qt::Concurrent libbsarch)

target_include_directories(bsa_packer
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} PRIVATE ${BOOST_DI_ROOT}/include)
target_compile_definitions(bsa_packer PRIVATE BSAPACKER_LIBRARY)
target_link_libraries(bsa_packer
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../lib/DirectXTex.lib)

mo2_install_target(bsa_packer)
Loading

0 comments on commit 2ee77e4

Please sign in to comment.