mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
workaround for cxxtestgen
This commit is contained in:
parent
e93e8ed091
commit
db259e9422
|
@ -71,6 +71,7 @@ else()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(PythonInterp REQUIRED)
|
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}
|
add_custom_command(OUTPUT ${RUNNER}
|
||||||
COMMAND ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE} --runner=ErrorPrinter -o ${RUNNER} ${TESTS}
|
COMMAND ${CXXTEST_PYTHON_TESTGEN_EXECUTABLE} --runner=ErrorPrinter -o ${RUNNER} ${TESTS}
|
||||||
|
|
2
third-party/cxxtest/CMakeLists.txt
vendored
2
third-party/cxxtest/CMakeLists.txt
vendored
|
@ -13,5 +13,3 @@ ExternalProject_Add(cxxtest-download
|
||||||
|
|
||||||
set(CXXTEST_ROOT_DIR ${CMAKE_CURRENT_BINARY_DIR}/cxxtest-download-prefix/src/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_INCLUDE_DIR ${CXXTEST_ROOT_DIR})
|
||||||
set(CXXTEST_PYTHON_TESTGEN_EXECUTABLE ${CXXTEST_ROOT_DIR}/bin/cxxtestgen CACHE INTERNAL "" FORCE)
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user