-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathConfigSettings.cmake
37 lines (32 loc) · 1.54 KB
/
ConfigSettings.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ============================================================================
# Copyright (c) 2015 <provider-name>
# All rights reserved.
#
# See COPYING file for license information.
# ============================================================================
##############################################################################
# @file ConfigSettings.cmake
# @brief Sets variables used in CMake package configuration.
#
# It is suggested to use @c _CONFIG as suffix for variable names that are to
# be substituted in the Config.cmake.in template file in order to distinguish
# these variables from the build configuration.
#
# @note The default BasisConfigSettings.cmake file which is part of the BASIS
# installation is included prior to this file. Hence, the variables are
# valid even if a custom project-specific configuration is used and
# default values can further be overwritten in this file.
#
# @ingroup BasisSettings
##############################################################################
# ============================================================================
# build tree configuration settings
# ============================================================================
if (BUILD_CONFIG_SETTINGS)
set (DATA_DIR_CONFIG "${PROJECT_DATA_DIR}")
return ()
endif ()
# ============================================================================
# installation configuration settings
# ============================================================================
set (DATA_DIR_CONFIG "${INSTALL_DATA_DIR}")