Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Boris Basic
VTK
Commits
7e3e5f3d
Commit
7e3e5f3d
authored
Mar 24, 2016
by
Ben Boeckel
⛰
Browse files
FindTBB: empty out end*() commands
parent
8b776407
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMake/FindTBB.cmake
View file @
7e3e5f3d
...
...
@@ -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
()
#=============================================================================
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment