desktop/ConfigureChecks.cmake

18 строки
465 B
CMake

include(CheckIncludeFile)
include(CheckSymbolExists)
include(CheckFunctionExists)
include(CheckLibraryExists)
include(CheckTypeSize)
include(CheckCXXSourceCompiles)
set(PACKAGE ${APPLICATION_NAME})
set(VERSION ${APPLICATION_VERSION})
set(DATADIR ${DATA_INSTALL_DIR})
set(LIBDIR ${LIB_INSTALL_DIR})
set(PLUGINDIR ${PLUGIN_INSTALL_DIR})
if (DEVELOPER)
set(SYSCONFDIR ${CMAKE_BINARY_DIR})
else (DEVELOPER)
set(SYSCONFDIR ${SYSCONF_INSTALL_DIR})
endif (DEVELOPER)