#108 Use PROJECT_BINARY_DIR in place of gflags_BINARY_DIR
authorAndreas Schuh <andreas.schuh.84@gmail.com>
Wed, 25 Mar 2015 00:14:46 +0000 (00:14 +0000)
committerAndreas Schuh <andreas.schuh.84@gmail.com>
Wed, 25 Mar 2015 00:14:46 +0000 (00:14 +0000)
test/CMakeLists.txt

index 891224d..bb189af 100644 (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 (