--- include/CMakeLists.txt.orig 2023-10-14 12:45:47 UTC +++ include/CMakeLists.txt @@ -60,9 +60,5 @@ if(CPR_USE_BOOST_FILESYSTEM) endif() endif() -if (((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.1) OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT WIN32)) AND NOT CPR_USE_BOOST_FILESYSTEM) - target_link_libraries(cpr PUBLIC stdc++fs) -endif() - install(DIRECTORY cpr DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(DIRECTORY ${PROJECT_BINARY_DIR}/cpr_generated_includes/cpr DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})