Skip to content

Commit

Permalink
Merge pull request #1591 from AntelopeIO/switch_include_property
Browse files Browse the repository at this point in the history
switch out `COMPILE_FLAGS` for `INCLUDE_DIRECTORIES` in fc's rapidjson cmake
  • Loading branch information
spoonincode authored Sep 5, 2023
2 parents 5018093 + df98be0 commit 1adff8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/libfc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ find_package(ZLIB REQUIRED)
target_include_directories(fc PUBLIC include)

# try and make this very clear that this json parser is intended only for webauthn parsing..
set_source_files_properties(src/crypto/elliptic_webauthn.cpp PROPERTIES COMPILE_FLAGS "-I${CMAKE_CURRENT_SOURCE_DIR}/include/fc/crypto/webauthn_json/include")
set_source_files_properties(src/crypto/elliptic_webauthn.cpp PROPERTIES INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include/fc/crypto/webauthn_json/include")

if(WIN32)
target_link_libraries( fc PUBLIC ws2_32 mswsock userenv )
Expand Down

0 comments on commit 1adff8e

Please sign in to comment.