From 3349ddbe1dd9e008420710158071311d759aa3c6 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Mon, 15 May 2017 17:01:20 +0200 Subject: [PATCH] print MATH_LIB_SEARCH_ORDER; fixes #195 --- modules/math_libs.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/math_libs.cmake b/modules/math_libs.cmake index 5040fa8..6042e6e 100644 --- a/modules/math_libs.cmake +++ b/modules/math_libs.cmake @@ -516,3 +516,9 @@ if (ENABLE_STATIC_LINKING) set(MATH_LIBS ${MATH_LIBS} -ldl) endif() endif() + +if(MATH_LIB_SEARCH_ORDER) + # this print is here to avoid warning about MATH_LIB_SEARCH_ORDER which + # might be set but never used + message(STATUS "MATH_LIB_SEARCH_ORDER set to ${MATH_LIB_SEARCH_ORDER}") +endif()