diff --git a/deps/ox/src/ox/fs/CMakeLists.txt b/deps/ox/src/ox/fs/CMakeLists.txt index 9caea74c..03da75de 100644 --- a/deps/ox/src/ox/fs/CMakeLists.txt +++ b/deps/ox/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()