Skip to content

Commit

Permalink
Tools: Link filesystem library on GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
tcbrindle committed May 28, 2018
1 parent 0a3cfad commit bae58d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/CMakeLists.txt
@@ -1,3 +1,7 @@

add_executable(make_single_header make_single_header.cpp)
target_compile_features(make_single_header PRIVATE cxx_std_17)

if (CMAKE_COMPILER_IS_GNUCXX)
target_link_libraries(make_single_header PRIVATE stdc++fs)
endif()

0 comments on commit bae58d2

Please sign in to comment.