Skip to content

Commit 1a92799

Browse files
committed
Reintroduce cpr include hack
1 parent 6b3146b commit 1a92799

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ add_subdirectory(libzsync)
1313
if(NOT USE_SYSTEM_CPR)
1414
add_subdirectory(cpr)
1515
set_property(TARGET cpr PROPERTY POSITION_INDEPENDENT_CODE ON)
16+
17+
# this hack is still needed to make the bundled cpr work, unfortunately
18+
target_include_directories(cpr PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/cpr/include)
1619
endif()
1720

1821
# it's quite simple dealing with the args library directly from CMake

0 commit comments

Comments
 (0)