diff --git a/tests/bson/CMakeLists.txt b/tests/bson/CMakeLists.txt index e276376c..318ba7a0 100644 --- a/tests/bson/CMakeLists.txt +++ b/tests/bson/CMakeLists.txt @@ -4,4 +4,5 @@ file(GLOB_RECURSE SOURCES "*.cpp") add_executable(reflect-cpp-bson-tests ${SOURCES}) +target_include_directories(reflect-cpp-bson-tests SYSTEM PRIVATE "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include") target_link_libraries(reflect-cpp-bson-tests PRIVATE reflectcpp)