summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ()