aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2017-05-15 11:40:10 -0400
committerDavid Neto <dneto@google.com>2017-05-15 11:40:50 -0400
commit872e22302cc0efa1459ab609c51157da243e5756 (patch)
tree43211489148335336fb53791a66dbfed03cb179b
parent72be6db4a9e897837df8dfadf7f1dbca4adb4ab3 (diff)
downloadeffcee-872e22302cc0efa1459ab609c51157da243e5756.tar.gz
Fix example-effcee exe file location
For Visual Studio builds, need to take build configuration into account.
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 86f5a0f..47a326c 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -9,7 +9,7 @@ if(EFFCEE_BUILD_TESTING)
add_test(NAME effcee-example
COMMAND ${PYTHON_EXE}
effcee-example-driver.py
- ${CMAKE_CURRENT_BINARY_DIR}/effcee-example
+ $<TARGET_FILE:effcee-example>
example_data.txt
"CHECK: Hello"
"CHECK-SAME: world"