From 96a47549826b8fa5d1b1553e608607872882c464 Mon Sep 17 00:00:00 2001 From: Matthias Gabriel Date: Mon, 6 Mar 2017 12:51:48 +0100 Subject: Fix Libevent usage in test-gen-c --- test/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ba982e9..52ed33b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -110,6 +110,10 @@ add_executable(test-gen-c ${GETOPT_FILES}) target_link_libraries(test-gen-c ${LIBEVENT_LIBRARIES}) +if (USCXML_PREREQS) + add_dependencies(test-gen-c ${USCXML_PREREQS}) +endif() + if (WIN32) target_link_libraries(test-gen-c Ws2_32) endif() @@ -410,4 +414,4 @@ if (NOT BUILD_MINIMAL) endforeach () endforeach () -endif () \ No newline at end of file +endif () -- cgit v0.12