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 3ad9ede commit e12061aCopy full SHA for e12061a
CMakeLists.txt
@@ -220,10 +220,11 @@ endif()
220
unset(isSystemDir)
221
222
# Install library
223
-install(TARGETS Monitoring
+install(TARGETS Monitoring 5-Benchmark
224
EXPORT MonitoringTargets
225
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
226
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
227
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
228
)
229
230
# Create version file
src/UriParser/UriParser.h
@@ -70,7 +70,7 @@ namespace http {
70
int port;
71
std::string portstring = TailSlice(hostport, ":");
72
try { port = atoi(portstring.c_str()); }
73
- catch (std::exception e) { port = -1; }
+ catch (std::exception &e) { port = -1; }
74
return port;
75
}
76
0 commit comments