Skip to content

Commit 5fd6276

Browse files
explicitly link c++ filesystem lib (required for some older compilers)
1 parent aecd03e commit 5fd6276

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ target_link_libraries(${Target} PRIVATE modbus)
77
# ---------------------------------------- link libraries --------------------------------------------------------------
88
# ======================================================================================================================
99
target_link_libraries(${Target} PRIVATE rt)
10+
target_link_libraries(${Target} PRIVATE stdc++fs)
1011

1112
add_subdirectory(cxxopts EXCLUDE_FROM_ALL)
1213
target_link_libraries(${Target} PRIVATE cxxopts)

0 commit comments

Comments
 (0)