mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-11 02:36:33 +08:00
Fixed cmake error in Xcode coverage test case.
This commit is contained in:
parent
03f849d23f
commit
243963558e
@ -11,8 +11,7 @@ endif()
|
||||
if(CMAKE_GENERATOR STREQUAL Xcode)
|
||||
add_executable(filesystem_test_cov filesystem_test.cpp catch.hpp)
|
||||
target_compile_options(filesystem_test_cov PRIVATE "$<$<CONFIG:DEBUG>:--coverage>")
|
||||
target_link_libraries(filesystem_test_cov PRIVATE --coverage)
|
||||
target_link_libraries(filesystem_test_cov ghc_filesystem)
|
||||
target_link_libraries(filesystem_test_cov PUBLIC ghc_filesystem PRIVATE --coverage)
|
||||
endif()
|
||||
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND (CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 7.0 OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user