commit | f114b595185cc949fb90f12ce7211771d71679c0 | [log] [tgz] |
---|---|---|
author | Joshua Haberman <jhaberman@gmail.com> | Tue Aug 07 14:04:13 2018 -0700 |
committer | Joshua Haberman <jhaberman@gmail.com> | Tue Aug 07 14:04:13 2018 -0700 |
tree | 51dcee3d1642c4d41f148b33f79a39c69cb9d28c | |
parent | 8cb4f772ac9e0780929896c336860c50b270d90c [diff] |
Fixed existence test for "tests" subdir.
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7bf6abb..053fd7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -140,7 +140,7 @@ RUNTIME DESTINATION bin ) - if (EXISTS "tests") + if (IS_DIRECTORY "${PROJECT_SOURCE_DIR}/tests") enable_testing() if(BUILD_TESTING)