From 7306493535f7ad54758f2ec1fd4326b03c20abbe Mon Sep 17 00:00:00 2001 From: Markus Blatt <mblatt@dune-project.org> Date: Wed, 26 Dec 2012 10:38:30 +0000 Subject: [PATCH] Mode macro name for adding gmp flags consistent [[Imported from SVN: r7071]] --- cmake/modules/FindGMP.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/modules/FindGMP.cmake b/cmake/modules/FindGMP.cmake index 1a20c8157..f912033a5 100644 --- a/cmake/modules/FindGMP.cmake +++ b/cmake/modules/FindGMP.cmake @@ -9,7 +9,7 @@ # # adds GMP flags to the targets -function(dune_add_gmp_flags _targets) +function(add_dune_gmp_flags _targets) if(GMP_FOUND) foreach(_target ${_targets}) target_link_libraries(${_target} ${GMP_LIBRARIES}) @@ -23,7 +23,7 @@ function(dune_add_gmp_flags _targets) endforeach(_path ${GMP_INCLUDE_DIRS}) endforeach(_target ${_targets}) endif(GMP_FOUND) -endfunction(dune_add_gmp_flags) +endfunction(add_dune_gmp_flags) # search for location of header gmpxx.h", only at positions given by the user find_path(GMP_INCLUDE_DIR -- GitLab