-
Notifications
You must be signed in to change notification settings - Fork 60
/
meshlib-config.cmake.in
39 lines (34 loc) · 1.57 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
36
37
38
39
@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@)
set(MESHLIB_BUILD_EXTRA_IO_FORMATS @MESHLIB_BUILD_EXTRA_IO_FORMATS@)
include(${SELF_DIR}/MRMeshConfig.cmake)
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(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_EXTRA_IO_FORMATS)
include(${SELF_DIR}/MRIOExtrasConfig.cmake)
endif(MESHLIB_BUILD_EXTRA_IO_FORMATS)
if(APPLE)
message("You can install required packages via brew: ' xargs brew install < /Library/Frameworks/MeshLib.framework/Versions/Current/requirements/macos.txt '")
endif(APPLE)