diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2c22a13..d60c650 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -73,6 +73,9 @@ add_test(multifile_test multifile_test) add_executable(fwd_impl_test fwd_test.cpp impl_test.cpp) target_link_libraries(fwd_impl_test ghc_filesystem) +if(${CMAKE_SYSTEM_NAME} MATCHES "(SunOS|Solaris)") + target_link_libraries(filesystem_test xnet) +endif() target_compile_options(fwd_impl_test PRIVATE $<$:-s DISABLE_EXCEPTION_CATCHING=0> $<$,$>:-Wall -Wextra -Wshadow -Wconversion -Wsign-conversion -Wpedantic -Werror>