diff --git a/CMakeLists.txt b/CMakeLists.txt
index 548dfd1..5615072 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,11 +1,13 @@
cmake_minimum_required(VERSION 3.4)
project("Cap'n Proto" CXX)
+
set(VERSION 0.9.1)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(CheckIncludeFileCXX)
include(GNUInstallDirs)
+include(CTest)
if(MSVC)
check_include_file_cxx(initializer_list HAS_CXX14)
else()
@@ -25,7 +27,6 @@ set(INSTALL_TARGETS_DEFAULT_ARGS
# Options ======================================================================
-option(BUILD_TESTING "Build unit tests and enable CTest 'check' target." ON)
option(EXTERNAL_CAPNP "Use the system capnp binary, or the one specified in $CAPNP, instead of using the compiled one." OFF)
option(CAPNP_LITE "Compile Cap'n Proto in 'lite mode', in which all reflection APIs (schema.h, dynamic.h, etc.) are not included. Produces a smaller library at the cost of features. All programs built against the library must be compiled with -DCAPNP_LITE. Requires EXTERNAL_CAPNP." OFF)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3035301..68ba3cc 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -2,8 +2,6 @@
# Tests ========================================================================
if(BUILD_TESTING)
- include(CTest)
-
if(EXTERNAL_CAPNP)
# Set up CAPNP_GENERATE_CPP for compiling test schemas
find_package(CapnProto CONFIG QUIET)