aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/macros/FindBoost.cmake2
-rw-r--r--cmake/showoptions.cmake8
2 files changed, 10 insertions, 0 deletions
diff --git a/cmake/macros/FindBoost.cmake b/cmake/macros/FindBoost.cmake
index 90bba26db70..ebd1c29598a 100644
--- a/cmake/macros/FindBoost.cmake
+++ b/cmake/macros/FindBoost.cmake
@@ -349,6 +349,8 @@ function(_Boost_GUESS_COMPILER_PREFIX _ret)
else()
set (_boost_COMPILER "-il")
endif()
+ elseif (MSVC14)
+ set(_boost_COMPILER "-vc140")
elseif (MSVC12)
set(_boost_COMPILER "-vc120")
elseif (MSVC11)
diff --git a/cmake/showoptions.cmake b/cmake/showoptions.cmake
index 2d21136d661..9b2c849ec39 100644
--- a/cmake/showoptions.cmake
+++ b/cmake/showoptions.cmake
@@ -93,5 +93,13 @@ if ( NOJEM )
message(" *** DO NOT DISABLE IT UNLESS YOU KNOW WHAT YOU'RE DOING!")
endif()
+if ( HELGRIND )
+ message("")
+ message(" *** HELGRIND - WARNING!")
+ message(" *** Please specify the valgrind include directory in VALGRIND_INCLUDE_DIR option if you get build errors")
+ message(" *** Please note that this is for DEBUGGING WITH HELGRIND only!")
+ add_definitions(-DHELGRIND)
+endif()
+
message("")