From c2a001e57b33682314964d32e2ed2ca67226d080 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 1 Jun 2018 10:08:57 -0700 Subject: fixes #496 nngcat tests fail in Xcode build This avoids copying the tests, but runs them with bash from the source directory, and passes the path to the built nngcat binary to the script. It also permits these to run if we find bash, so that systems without bash won't run it and fail. We still only do this on POSIX though, because Windows bash is too broken to use for some of the tests. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 03116540..abb1e214 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,6 +37,7 @@ include (CheckCCompilerFlag) include (CMakeDependentOption) include (GNUInstallDirs) include (TestBigEndian) +include (FindUnixCommands) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) -- cgit v1.2.3-70-g09d2