cmake_minimum_required(VERSION 2.6) set(ORIGIN_ROOT $ENV{ORIGIN_ROOT}) if(NOT ORIGIN_ROOT) message(FATAL_ERROR "Set $ORIGIN_ROOT before building") endif() list(APPEND CMAKE_MODULE_PATH ${ORIGIN_ROOT}/cmake) include(Origin) origin_library_project( DESCRIPTION "Origin.EoP - Concepts and Algorithms from Elements of Programming" AUTHORS "Andrew Sutton < asutton -at- cs.kent.edu >" DEPENDS ${ORIGIN_STD_LIBRARIES} ) add_subdirectory(test)