-
Notifications
You must be signed in to change notification settings - Fork 193
/
OpenStudioCoreConfig.cmake.in
36 lines (30 loc) · 1.72 KB
/
OpenStudioCoreConfig.cmake.in
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
# OpenStudio CMake configuration file
# If this file was found, then OpenStudio has been found
set(OpenStudioCore_FOUND 1)
# Get all directories relative to the location of OpenStudioConfig.cmake
get_filename_component(OpenStudioCore_INSTALL_PREFIX "${OpenStudioCore_DIR}" ABSOLUTE)
set(OpenStudioCore_VERSION_MAJOR "@PROJECT_VERSION_MAJOR@")
set(OpenStudioCore_VERSION_MINOR "@PROJECT_VERSION_MINOR@")
set(OpenStudioCore_VERSION_PATCH "@PROJECT_VERSION_PATCH@")
set(OpenStudioCore_VERSION "${OpenStudioCore_VERSION_MAJOR}.${OpenStudioCore_VERSION_MINOR}.${OpenStudioCore_VERSION_PATCH}")
set(OpenStudioCore_INCLUDE_DIRS "${OpenStudioCore_INSTALL_PREFIX}/../src"
"${OpenStudioCore_INSTALL_PREFIX}/../src/boost-log"
"@PROJECT_SOURCE_DIR@/src"
"@PROJECT_SOURCE_DIR@/src/boost-log"
"@PROJECT_SOURCE_DIR@/src/gtest/include"
"@PROJECT_BINARY_DIR@/src"
"@BoostLog_INCLUDE_DIRS@"
"@QJSON_INCLUDE_DIR@"
"@GTEST_INCLUDE_DIR@"
"@GEOGRAPHIC_INCLUDE_DIR@"
)
set(OpenStudioCore_LIBRARY_DIRS "${OpenStudioCore_INSTALL_PREFIX}/Products" "@GTEST_LIB_DIR@" "@QJSON_LIBRARY_DIRS@")
set(OpenStudioCore_CMAKE_DIR "@PROJECT_SOURCE_DIR@")
set(OpenStudioCore_SWIG_INCLUDE_DIR "@PROJECT_SOURCE_DIR@/src")
# Only include the exported targets once
if(NOT TARGET openstudio_model)
include("@TARGETS_FILE@")
endif()
set(OpenStudioCore_RUBY_MODULE_DIR "@RUBY_MODULE_DIR@")
set(OpenStudioCore_RUBY_MODULE_ARCH_DIR "@RUBY_MODULE_ARCH_DIR@")
set(OpenStudioCore_CMAKE_CXX_FLAGS "@CMAKE_CXX_FLAGS@")