-
Notifications
You must be signed in to change notification settings - Fork 59
/
meshlib-config.cmake.in
35 lines (30 loc) · 1.39 KB
/
meshlib-config.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
@PACKAGE_INIT@
set(MESHLIB_INCLUDE_DIR "@PACKAGE_MR_INCLUDE_DIR@")
set(MESHLIB_THIRDPARTY_INCLUDE_DIR "@PACKAGE_MR_INCLUDE_DIR@/include;@PACKAGE_MR_INCLUDE_DIR@/include/imgui")
set(MESHLIB_THIRDPARTY_LIB_DIR "@PACKAGE_MR_MAIN_LIB_DIR@/lib")
get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(MESHLIB_BUILD_MRVIEWER @MESHLIB_BUILD_MRVIEWER@)
set(MESHLIB_BUILD_MRCUDA @MESHLIB_BUILD_MRCUDA@)
set(MESHLIB_EXPERIMENTAL_BUILD_C_BINDING @MESHLIB_EXPERIMENTAL_BUILD_C_BINDING@)
set(MESHLIB_BUILD_SYMBOLMESH @MESHLIB_BUILD_SYMBOLMESH@)
set(MESHLIB_BUILD_VOXELS @MESHLIB_BUILD_VOXELS@)
include(${SELF_DIR}/MRMeshConfig.cmake)
if(MESHLIB_BUILD_SYMBOLMESH)
include(${SELF_DIR}/MRSymbolMeshConfig.cmake)
endif(MESHLIB_BUILD_SYMBOLMESH)
if(MESHLIB_BUILD_VOXELS)
include(${SELF_DIR}/MRVoxelsConfig.cmake)
endif(MESHLIB_BUILD_VOXELS)
if(MESHLIB_BUILD_MRVIEWER)
include(${SELF_DIR}/MRViewerConfig.cmake)
include(${SELF_DIR}/MRCommonPluginsConfig.cmake)
endif(MESHLIB_BUILD_MRVIEWER)
if(MESHLIB_BUILD_MRCUDA)
include(${SELF_DIR}/MRCudaConfig.cmake)
endif(MESHLIB_BUILD_MRCUDA)
if(MESHLIB_EXPERIMENTAL_BUILD_C_BINDING)
include(${SELF_DIR}/MRMeshCConfig.cmake)
endif(MESHLIB_EXPERIMENTAL_BUILD_C_BINDING)
if(APPLE)
message("You can install required packages via brew: ' xargs brew install < /Library/Frameworks/MeshLib.framework/Versions/Current/requirements/macos.txt '")
endif(APPLE)