Skip to content

Commit

Permalink
Use std::filesystem (#487)
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Metsma <raul@metsma.ee>

Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma authored Sep 13, 2022
1 parent 990b9a0 commit d5cccf9
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 280 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 d5cccf9

Please sign in to comment.