INCLUDE(CTest) must be in root CMakeLists for 'make test' to work

This commit is contained in:
Jari Vetoniemi 2014-03-28 22:00:28 +02:00
parent 17250cfd3f
commit db55c12128

View File

@ -1,5 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8) CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(bemenu) PROJECT(bemenu)
INCLUDE(CTest)
SET(BEMENU_NAME "bemenu") SET(BEMENU_NAME "bemenu")
SET(BEMENU_DESCRIPTION "Dynamic menu library and client program inspired by dmenu") SET(BEMENU_DESCRIPTION "Dynamic menu library and client program inspired by dmenu")
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${chck_SOURCE_DIR}/CMake/modules) SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${chck_SOURCE_DIR}/CMake/modules)