# Copyright (C) 2007-2009 LuaDist. # Created by Peter Drahoš # Redistribution and use of this file is allowed according to the terms of the MIT license. # For details see the COPYRIGHT file distributed with LuaDist. # Please note that the package source code is licensed under its own license. PROJECT(nancy NONE) # CMake configuration: CMAKE_MINIMUM_REQUIRED(VERSION 2.6 ) # Where to install module parts: SET (INSTALL_BIN bin CACHE PATH "Where to install binaries to.") SET (INSTALL_DATA . CACHE PATH "Directory the package can store documentation, tests or other data in.") SET (INSTALL_DOC ${INSTALL_DATA}/doc CACHE PATH "Recommended directory to install documentation into.") # Install all files and documentation INSTALL (PROGRAMS nancy DESTINATION ${INSTALL_BIN}) INSTALL (FILES README DESTINATION ${INSTALL_DATA}) INSTALL (FILES "Nancy user's guide.pdf" DESTINATION ${INSTALL_DOC})