Skip to content

Commit

Permalink
Merge pull request #887 from turkic-dev/master
Browse files Browse the repository at this point in the history
ndk stdc++fs library error
  • Loading branch information
COM8 authored Aug 3, 2023
2 parents d54cc78 + 1946152 commit eb2d418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ 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 CPR_USE_BOOST_FILESYSTEM)
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 CPR_USE_BOOST_FILESYSTEM AND NOT CMAKE_SYSTEM_NAME STREQUAL "Android")
target_link_libraries(cpr PUBLIC stdc++fs)
endif()

Expand Down

0 comments on commit eb2d418

Please sign in to comment.