diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 260fe7391d..a22ea27257 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1267,9 +1267,9 @@ if( UNIX ) set( PROJECT_LIBRARIES ${PROJECT_LIBRARIES} ${Backtrace_LIBRARIES} ) endif() endif() - -target_link_libraries( zdoom ${PROJECT_LIBRARIES} lzma ${ZMUSIC_LIBRARIES} ) - +find_package(cppdap CONFIG REQUIRED) +find_package(eventpp CONFIG REQUIRED) +target_link_libraries( zdoom ${PROJECT_LIBRARIES} lzma ${ZMUSIC_LIBRARIES} cppdap::cppdap eventpp::eventpp ) include_directories( BEFORE . diff --git a/vcpkg.json b/vcpkg.json index 0df558c005..f804113def 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", - "builtin-baseline": "2c401863dd54a640aeb26ed736c55489c079323b", + "builtin-baseline": "0659bf17507c88f2da8cb196303a5b6fd862f817", "features": { "vcpkg-libvpx": @@ -27,6 +27,12 @@ } }, "dependencies": [ + { + "name": "cppdap" + }, + { + "name": "eventpp" + }, { "name": "bzip2", "platform": "(!windows & static) | (windows & static & staticcrt)"