summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-03-06 19:30:41 (GMT)
committerGitHub <noreply@github.com>2017-03-06 19:30:41 (GMT)
commit7b9377314da54f4858ab986d33325bda809d4fda (patch)
tree6e7f2653b0e79a3e7a6d0d0abbe5089f4f1a389b
parentdf4c0274650a7a40a043d99cac8a79185a4156f0 (diff)
parent96a47549826b8fa5d1b1553e608607872882c464 (diff)
downloaduscxml-7b9377314da54f4858ab986d33325bda809d4fda.zip
uscxml-7b9377314da54f4858ab986d33325bda809d4fda.tar.gz
uscxml-7b9377314da54f4858ab986d33325bda809d4fda.tar.bz2
Merge pull request #106 from gabm/FixLibEvent
Problem: When libevent is built by uscxml, test-gen-c doesn't wait for it being built
-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 ()