summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ebd2d0c6c..ad05cb74a3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,10 +31,9 @@ target_link_libraries(nbt++ z)
generate_export_header(nbt++ BASE_NAME nbt)
find_package(ZLIB REQUIRED)
-find_package(CxxTest)
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
-option(NBT_BUILD_TESTS "Build the unit tests. Requires CxxTest." ${CXXTEST_FOUND})
+option(NBT_BUILD_TESTS "Build the unit tests. Requires CxxTest." ON)
if(NBT_BUILD_TESTS)
enable_testing()