ConfigSettings.cmake
Go to the documentation of this file.
1 # ============================================================================
2 # Copyright (c) 2015 <provider-name>
3 # All rights reserved.
4 #
5 # See COPYING file for license information.
6 # ============================================================================
7 
8 ##############################################################################
9 # @file ConfigSettings.cmake
10 # @brief Sets variables used in CMake package configuration.
11 #
12 # It is suggested to use @c _CONFIG as suffix for variable names that are to
13 # be substituted in the Config.cmake.in template file in order to distinguish
14 # these variables from the build configuration.
15 #
16 # @note The default BasisConfigSettings.cmake file which is part of the BASIS
17 # installation is included prior to this file. Hence, the variables are
18 # valid even if a custom project-specific configuration is used and
19 # default values can further be overwritten in this file.
20 #
21 # @ingroup BasisSettings
22 ##############################################################################
23 
24 # ============================================================================
25 # build tree configuration settings
26 # ============================================================================
27 
28 if (BUILD_CONFIG_SETTINGS)
29  set (DATA_DIR_CONFIG "${PROJECT_DATA_DIR}")
30  return ()
31 endif ()
32 
33 # ============================================================================
34 # installation configuration settings
35 # ============================================================================
36 
37 set (DATA_DIR_CONFIG "${INSTALL_DATA_DIR}")
or our tests failed to detect it correctly Please use a different C compiler or report this problem to the developers endif() if(UNIX AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") endif(UNIX AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") if(APPLE) set(CMAKE_MACOSX_RPATH ON)() endif() if(OpenCV_FOUND) if(NOT $
Definition: Settings.cmake:39