mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
#108 Fix temporary directory configuration of negative compilation tests
This commit is contained in:
parent
33fc9997bd
commit
ccff5658e0
2 changed files with 2 additions and 1 deletions
|
@ -173,6 +173,7 @@ if (BUILD_NC_TESTS)
|
|||
" Either install Python or set BUILD_NC_TESTS to FALSE and try again.")
|
||||
endif ()
|
||||
set (SRCDIR "${CMAKE_CURRENT_SOURCE_DIR}/nc")
|
||||
set (TMPDIR "${gflags_BINARY_DIR}/Testing/Temporary")
|
||||
configure_file (gflags_nc.py.in "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/nc.py" @ONLY)
|
||||
macro (add_gflags_nc_test name)
|
||||
add_test (
|
||||
|
|
|
@ -6,7 +6,7 @@ import subprocess
|
|||
import shutil
|
||||
|
||||
CMAKE = '@CMAKE_COMMAND@'
|
||||
TMPDIR = '@TEMPDIR@'
|
||||
TMPDIR = '@TMPDIR@'
|
||||
SRCDIR = '@SRCDIR@'
|
||||
GFLAGS_DIR = '@gflags_BINARY_DIR@'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue