Commit 7e3e5f3d authored by Ben Boeckel's avatar Ben Boeckel
Browse files

FindTBB: empty out end*() commands

parent 8b776407
......@@ -87,7 +87,7 @@ macro(findpkg_finish PREFIX)
${PREFIX}_LIBRARY_DEBUG
${PREFIX}_LIBRARY_RELEASE)
endif ()
endmacro(findpkg_finish)
endmacro()
#===============================================
# Generate debug names from given RELEASEease names
......@@ -95,8 +95,8 @@ endmacro(findpkg_finish)
macro(get_debug_names PREFIX)
foreach(i ${${PREFIX}})
set(${PREFIX}_DEBUG ${${PREFIX}_DEBUG} ${i}d ${i}D ${i}_d ${i}_D ${i}_debug ${i})
endforeach(i)
endmacro(get_debug_names)
endforeach()
endmacro()
#===============================================
# See if we have env vars to help us find tbb
......@@ -107,7 +107,7 @@ macro(getenv_path VAR)
if (ENV_${VAR})
string( REGEX REPLACE "\\\\" "/" ENV_${VAR} ${ENV_${VAR}} )
endif ()
endmacro(getenv_path)
endmacro()
#===============================================
# Couple a set of RELEASEease AND debug libraries
......@@ -120,7 +120,7 @@ macro(make_library_set PREFIX)
elseif (${PREFIX}_DEBUG)
set(${PREFIX} ${${PREFIX}_DEBUG})
endif ()
endmacro(make_library_set)
endmacro()
#=============================================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment