#108 Use PROJECT_BINARY_DIR in place of gflags_BINARY_DIR

This commit is contained in:
Andreas Schuh 2015-03-25 00:14:46 +00:00
parent 73b67041d8
commit 71c656e0e9

View file

@ -173,7 +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")
set (TMPDIR "${PROJECT_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 (