File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,15 @@ project(cpprest C CXX)
44
55find_package (Threads REQUIRED)
66
7+ set (cpprest_extras_LIBRARIES crypto boost_system)
8+
79catkin_package(
810INCLUDE_DIRS
911 Release/include
1012 Release/libs/websocketpp
1113LIBRARIES
1214 cpprest
13- DEPENDS )
15+ DEPENDS cpprest_extras )
1416
1517set (CPPREST_INSTALL_HEADERS ON CACHE BOOL "Enable system header install" FORCE)
1618set (CPPREST_INSTALL ON CACHE BOOL "Disable system library install" FORCE)
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function(cpprest_find_openssl)
4848 pkg_search_module(OPENSSL openssl)
4949 endif ()
5050 if (OPENSSL_FOUND)
51- target_link_libraries (cpprest PRIVATE ${OPENSSL_LDFLAGS} )
51+ target_link_libraries (cpprest INTERFACE ${OPENSSL_LDFLAGS} )
5252 else ()
5353 find_package (OpenSSL 1.0.0 REQUIRED)
5454 endif ()
You can’t perform that action at this time.
0 commit comments