We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5eb21f commit a720a0bCopy full SHA for a720a0b
libs/network/example/CMakeLists.txt
@@ -105,8 +105,10 @@ if (UNIX)
105
${BOOST_SERVER_LIBS}
106
${Boost_FILESYSTEM_LIBRARY}
107
${CMAKE_THREAD_LIBS_INIT}
108
- cppnetlib-server-parsers
109
- rt)
+ cppnetlib-server-parsers)
+ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
110
+ target_link_libraries(fileserver rt)
111
+ endif()
112
endif (UNIX)
113
114
set_target_properties(http_client PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR}/example)
0 commit comments