diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e4c169cf..491dfc889 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,11 @@ target_include_directories(p4est PUBLIC $ $ $) -target_link_libraries(p4est PUBLIC SC::SC $<$:${WINSOCK_LIBRARIES}>) +target_link_libraries(p4est PUBLIC SC::SC ) + +if (WIN32) + target_linke_libaries(p4est PUBLIC ${WINSOCK_LIBRARIES}) +endif() # imported target, for use from parent projects add_library(P4EST::P4EST INTERFACE IMPORTED GLOBAL) diff --git a/doc/author_knapp.txt b/doc/author_knapp.txt new file mode 100644 index 000000000..24895073a --- /dev/null +++ b/doc/author_knapp.txt @@ -0,0 +1 @@ +I place my contributions to p4est under the FreeBSD license. David Knapp (david.knapp@dlr.de) \ No newline at end of file