From dab521a6c3c4c84708c476c17b6fb1f83276ad03 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 20 Jun 2019 23:24:03 -0500 Subject: [PATCH] [ox/fs] Fix Ox FS tests to run again (synced from c87eed730eb1ba2d2ccf50f3a01709ef5404cc09) --- src/ox/fs/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/ox/fs/CMakeLists.txt b/src/ox/fs/CMakeLists.txt index 9caea74c1..03da75de4 100644 --- a/src/ox/fs/CMakeLists.txt +++ b/src/ox/fs/CMakeLists.txt @@ -66,11 +66,6 @@ install( ARCHIVE DESTINATION lib/ox ) -if(OX_BUILD_EXEC STREQUAL "ON") - if(OX_RUN_TESTS STREQUAL "ON") - add_subdirectory(test) - endif() - #install(TARGETS oxfstool - # RUNTIME DESTINATION bin - #) +if(OX_RUN_TESTS) + add_subdirectory(test) endif()