Skip to content

Commit dcec034

Browse files
committed
Remove unnecessary linking of wampcra against crypto
This isn't required as autobahn_cpp already depends on openssl::crypto and breaks when openssl::crypto isn't in the system library path
1 parent e9bd71f commit dcec034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ target_link_libraries(examples_parameters PRIVATE ${Boost_LIBRARIES})
66

77
function(make_example name src)
88
add_executable(${name} ${src} ${PUBLIC_HEADERS})
9-
target_link_libraries(${name} examples_parameters autobahn_cpp ${ARGN})
9+
target_link_libraries(${name} examples_parameters autobahn_cpp)
1010
endfunction()
1111

1212
make_example(caller caller.cpp)
1313
make_example(callee callee.cpp)
1414
make_example(provide_prefix provide_prefix.cpp)
1515
make_example(publisher publisher.cpp)
1616
make_example(subscriber subscriber.cpp)
17-
make_example(wampcra wampcra.cpp crypto)
17+
make_example(wampcra wampcra.cpp)
1818
make_example(websocket_callee websocket_callee.cpp)
1919

2020
if(UNIX)

0 commit comments

Comments
 (0)