aboutsummaryrefslogtreecommitdiff
path: root/sdk/compiler/cmake/modules/FindBoostMultiprecision.cmake
diff options
context:
space:
mode:
authorAnton Novoselov <[email protected]>2017-08-01 13:20:34 +0300
committerAnton Novoselov <[email protected]>2017-08-01 13:20:34 +0300
commit883afed713a7b6508c9847a1a3d7670811b43026 (patch)
treea58d155fc9422e836d8b33ee39880dc1491f7828 /sdk/compiler/cmake/modules/FindBoostMultiprecision.cmake
parentBlast 1.1 release (windows / linux) (diff)
downloadblast-883afed713a7b6508c9847a1a3d7670811b43026.tar.xz
blast-883afed713a7b6508c9847a1a3d7670811b43026.zip
* fix .gitignore
* added missing cmake files
Diffstat (limited to 'sdk/compiler/cmake/modules/FindBoostMultiprecision.cmake')
-rw-r--r--sdk/compiler/cmake/modules/FindBoostMultiprecision.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/sdk/compiler/cmake/modules/FindBoostMultiprecision.cmake b/sdk/compiler/cmake/modules/FindBoostMultiprecision.cmake
new file mode 100644
index 0000000..84373ab
--- /dev/null
+++ b/sdk/compiler/cmake/modules/FindBoostMultiprecision.cmake
@@ -0,0 +1,22 @@
+# - Try to find tinyObjLoader
+# Once done this will define
+# BOOSTMULTIPRECISION_FOUND - System has tinyObjLoader
+# BOOSTMULTIPRECISION_INCLUDE_DIRS - The tinyObjLoader include directories
+
+INCLUDE(FindPackageHandleStandardArgs)
+
+#TODO: Proper version support
+FIND_PATH( BOOSTMULTIPRECISION_PATH boost/multiprecision
+ PATHS
+ ${GW_DEPS_ROOT}/BoostMultiprecision/${BoostMultiprecision_FIND_VERSION}
+ )
+
+MESSAGE("Boost Multiprecision Loader: " ${BOOSTMULTIPRECISION_PATH})
+
+SET(BOOSTMULTIPRECISION_INCLUDE_DIRS
+ ${BOOSTMULTIPRECISION_PATH}
+)
+
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(BoostMultiprecision DEFAULT_MSG BOOSTMULTIPRECISION_INCLUDE_DIRS)
+
+mark_as_advanced(BOOSTMULTIPRECISION_INCLUDE_DIRS) \ No newline at end of file