We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4edcee9 commit 88e0daeCopy full SHA for 88e0dae
cmake/Dependencies.cmake
@@ -56,5 +56,9 @@ if( NOT USE_STANDARD_FILESYSTEM OR NOT STANDARD_FILESYSTEM_COMPILES OR BIT7Z_BUI
56
message( STATUS "ghc::filesystem source code available at ${ghc_filesystem_SOURCE_DIR}" )
57
add_library( ghc_filesystem INTERFACE IMPORTED )
58
target_include_directories( ghc_filesystem SYSTEM INTERFACE ${ghc_filesystem_SOURCE_DIR}/include )
59
+ if( CMAKE_VERSION VERSION_GREATER_EQUAL "3.16.0" )
60
+ target_precompile_headers( ghc_filesystem INTERFACE
61
+ "${ghc_filesystem_SOURCE_DIR}/include/ghc/filesystem.hpp" )
62
+ endif()
63
endif()
64
0 commit comments