Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita720a0b

Browse files
committed
1 parentb5eb21f commita720a0b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎libs/network/example/CMakeLists.txt‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,10 @@ if (UNIX)
105105
${BOOST_SERVER_LIBS}
106106
${Boost_FILESYSTEM_LIBRARY}
107107
${CMAKE_THREAD_LIBS_INIT}
108-
cppnetlib-server-parsers
109-
rt)
108+
cppnetlib-server-parsers)
109+
if (${CMAKE_SYSTEM_NAME}MATCHES"Linux")
110+
target_link_libraries(fileserver rt)
111+
endif()
110112
endif (UNIX)
111113

112114
set_target_properties(http_client PROPERTIESRUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR}/example)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp