From 798a5e15e2681589ad24b1c66ec48632c5353f53 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 15 Jun 2016 17:08:41 -0700 Subject: [PATCH] (maint) Add libpxp-agent dependency on horsewhisperer This avoids compilation failure during parallel builds (as in `make -j`) when horsewhisperer is unpacked after starting to compile source for libpxp-agent. --- lib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 98de3fee..3f492410 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -68,6 +68,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CM endif() add_library(libpxp-agent STATIC ${LIBRARY_COMMON_SOURCES} ${LIBRARY_STANDARD_SOURCES}) +add_dependencies(libpxp-agent horsewhisperer) target_link_libraries(libpxp-agent ${LIBS}) set_target_properties(libpxp-agent PROPERTIES PREFIX "" IMPORT_PREFIX "")