diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2019-08-08 11:19:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-08 11:19:23 -0700 |
commit | 63a6e17196d849ad6e57bce7490eafb5b7f7f3ec (patch) | |
tree | 1046be4c856a6d90643711b68eacfb1ebf263166 /examples | |
parent | 58cf0f8f5762c5e7994d84f8a20969632f2be796 (diff) |
Fix issues with Ninja build system and add configure option. (#3166)
Adds option --ninja to configure.sh.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 8cf2208ea..f81c68236 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -18,7 +18,7 @@ add_custom_target(examples) # Create target runexamples. # Builds and runs all examples. add_custom_target(runexamples - COMMAND ctest --output-on-failure -L "example" -j${NTHREADS} $(ARGS) + COMMAND ctest --output-on-failure -L "example" -j${NTHREADS} $$ARGS DEPENDS examples) # Add example target and create test to run example with ctest. |