Skip to content

Commit

Permalink
Fixed UBJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Dec 6, 2024
1 parent 65de3ad commit e82bd76
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ if (REFLECTCPP_UBJSON)
list(APPEND REFLECT_CPP_SOURCES
src/reflectcpp_ubjson.cpp
)
if(REFLECTCPP_USE_VCPKG)
target_include_directories(reflectcpp SYSTEM PRIVATE "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include")
endif()
find_package(jsoncons CONFIG REQUIRED)
endif ()

Expand Down
2 changes: 0 additions & 2 deletions tests/ubjson/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ add_executable(
)
target_precompile_headers(reflect-cpp-ubjson-tests PRIVATE [["rfl.hpp"]] <iostream> <string> <functional> <gtest/gtest.h>)

target_include_directories(reflect-cpp-ubjson-tests SYSTEM PRIVATE "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include")

target_link_libraries(
reflect-cpp-ubjson-tests
PRIVATE
Expand Down

0 comments on commit e82bd76

Please sign in to comment.