refs #142, solaris support for tests

Took 2 minutes
This commit is contained in:
Steffen Schuemann 2022-04-02 13:53:16 +02:00
parent 723c787b9e
commit 977e5d6284

View File

@ -74,7 +74,7 @@ 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)
target_link_libraries(fwd_impl_test xnet)
endif()
target_compile_options(fwd_impl_test PRIVATE
$<$<BOOL:${EMSCRIPTEN}>:-s DISABLE_EXCEPTION_CATCHING=0>