VCPKG Full refactor

uses local cache for assets now so should be able to produce an offline build with vcpkg. Only a couple of libraries left that are too big, and the vcpkg repo itself has files that are blocked from the repo. We could get around both issues by utilizing a submodule
This commit is contained in:
marauder2k7 2026-06-19 14:52:43 +01:00
parent 0b73e701ac
commit 392df11e2b
9683 changed files with 284 additions and 3462845 deletions

View file

@ -4,4 +4,6 @@ file(GLOB COLLADA_SOURCES "src/1.4/dom/*.cpp" "src/dae/*.cpp" "src/modules/LIBXM
add_library(collada STATIC ${COLLADA_SOURCES})
target_include_directories(collada PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/include/1.4)
target_compile_definitions(collada PUBLIC DOM_INCLUDE_TINYXML PCRE_STATIC)
target_link_libraries(collada PUBLIC tinyxml2 pcre)
find_package(tinyxml2 CONFIG REQUIRED)
find_package(unofficial-pcre CONFIG REQUIRED)
target_link_libraries(collada PUBLIC tinyxml2::tinyxml2 unofficial::pcre::pcre unofficial::pcre::pcre16 unofficial::pcre::pcre32 unofficial::pcre::pcrecpp)