Skip to content
Snippets Groups Projects
Unverified Commit 10b30b3d authored by Jean-Christophe Fillion-Robin's avatar Jean-Christophe Fillion-Robin
Browse files

COMP: Ensure imstkAddExternalProject works if USE_SYSTEM_<proj> is not defined

Increase robustness to support case when the option has not been declared
in application integrating iMSTK and re-using the external projects.
parent 35940011
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ macro(imstk_add_external_project extProj)
#-----------------------------------------------------------------------------
# If needs to download and build
#-----------------------------------------------------------------------------
if(NOT DEFINED ${extProj}_DIR AND NOT ${USE_SYSTEM_${extProj}})
if(NOT DEFINED ${extProj}_DIR AND NOT USE_SYSTEM_${extProj})
imstk_define_external_dirs( ${extProj} )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment