Skip to content

Commit

Permalink
Link stdc++fs for GCC<9
Browse files Browse the repository at this point in the history
Signed-off-by: Kai-Uwe Hermann <[email protected]>
  • Loading branch information
hikinggrass committed Feb 20, 2024
1 parent 67d2022 commit fa52683
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/PersistentStore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ target_link_libraries(${MODULE_NAME}
PRIVATE
SQLite::SQLite3
)

if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
target_link_libraries(${MODULE_NAME}
PRIVATE
stdc++fs
)
endif()

# ev@bcc62523-e22b-41d7-ba2f-825b493a3c97:v1

target_sources(${MODULE_NAME}
Expand Down

0 comments on commit fa52683

Please sign in to comment.