summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Gabriel <matthias.gabriel@etit.tu-chemnitz.de>2017-03-06 11:51:48 (GMT)
committerMatthias Gabriel <matthias.gabriel@etit.tu-chemnitz.de>2017-03-06 11:51:48 (GMT)
commit96a47549826b8fa5d1b1553e608607872882c464 (patch)
tree6e7f2653b0e79a3e7a6d0d0abbe5089f4f1a389b
parent7006652c1009742b505bb865e2d799b2ad3d74b2 (diff)
downloaduscxml-96a47549826b8fa5d1b1553e608607872882c464.zip
uscxml-96a47549826b8fa5d1b1553e608607872882c464.tar.gz
uscxml-96a47549826b8fa5d1b1553e608607872882c464.tar.bz2
Fix Libevent usage in test-gen-c
-rw-r--r--test/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
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 ()