From db259e9422aafab10c60e23c7190f8f996c73ec7 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Fri, 10 Mar 2017 19:08:03 -0500 Subject: [PATCH] workaround for cxxtestgen --- tests/CMakeLists.txt | 1 + third-party/cxxtest/CMakeLists.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ab9dd697..b9a492a3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -71,6 +71,7 @@ else() endif() find_package(PythonInterp REQUIRED) +set(CXXTEST_PYTHON_TESTGEN_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/cxxtest-download-prefix/src/cxxtest-download/bin/cxxtestgen) add_custom_command(OUTPUT ${RUNNER} COMMAND ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE} --runner=ErrorPrinter -o ${RUNNER} ${TESTS} diff --git a/third-party/cxxtest/CMakeLists.txt b/third-party/cxxtest/CMakeLists.txt index 18d27c62..6f50bdf1 100644 --- a/third-party/cxxtest/CMakeLists.txt +++ b/third-party/cxxtest/CMakeLists.txt @@ -13,5 +13,3 @@ ExternalProject_Add(cxxtest-download set(CXXTEST_ROOT_DIR ${CMAKE_CURRENT_BINARY_DIR}/cxxtest-download-prefix/src/cxxtest-download) set(CXXTEST_INCLUDE_DIR ${CXXTEST_ROOT_DIR}) -set(CXXTEST_PYTHON_TESTGEN_EXECUTABLE ${CXXTEST_ROOT_DIR}/bin/cxxtestgen CACHE INTERNAL "" FORCE) -