Skip to content

Commit

Permalink
Use std::filesystem
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma committed Aug 5, 2022
1 parent 990b9a0 commit 13f9862
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 275 deletions.
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ target_link_libraries(digidocpp PRIVATE ${CMAKE_DL_LIBS} minizip digidocpp_priv)

if( BUILD_TOOLS )
add_executable(digidoc-tool digidoc-tool.rc digidoc-tool.cpp)
target_link_libraries(digidoc-tool digidocpp digidocpp_priv Threads::Threads)
target_link_libraries(digidoc-tool digidocpp digidocpp_priv Threads::Threads
"$<$<AND:$<CXX_COMPILER_ID:GNU>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,9.0>>:-lstdc++fs>"
)
configure_file( digidoc-tool.1.cmake digidoc-tool.1 )
endif()

Expand Down
Loading

0 comments on commit 13f9862

Please sign in to comment.