Commit 47ad2993 authored by Herbert Thielen's avatar Herbert Thielen
Browse files

Revert "ask cmake for per-configuration output subdir"

This reverts commit 73d58dd4.

Unfortunately, ${CMAKE_CFG_INTDIR} is set during build only and doesn't
help here.
parent 73d58dd4
...@@ -245,7 +245,7 @@ function(py_test name) ...@@ -245,7 +245,7 @@ function(py_test name)
add_test( add_test(
NAME ${name} NAME ${name}
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/${name}.py COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/${name}.py
--build_dir=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}) --build_dir=${CMAKE_CURRENT_BINARY_DIR}/$<CONFIGURATION>)
else (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.1) else (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 3.1)
add_test( add_test(
${name} ${name}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment