From 723c787b9eed2e1eb8d70082fe94c0f03890ca75 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sat, 2 Apr 2022 13:51:20 +0200 Subject: [PATCH] refs #142, solaris support for tests Took 3 minutes --- test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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>