Commit c588377d authored by Johan Andruejol's avatar Johan Andruejol

Fix compilation with BUILD_EXAMPLES Off

parent 4dda4311
......@@ -389,11 +389,6 @@ install(
Devel
)
#--------------------------------------------------------------------------
# Test data download
#--------------------------------------------------------------------------
include(imstkExternalDataDownloadTest)
#--------------------------------------------------------------------------
# Add Examples subdirectories
#--------------------------------------------------------------------------
......@@ -405,6 +400,7 @@ endif()
# Download the external data needed for both testing and examples
#-----------------------------------------------------------------------------
if(BUILD_TESTING OR BUILD_EXAMPLES)
include(imstkExternalDataDownloadTest)
imstk_add_data(${PROJECT_NAME} ${FILE_LIST})
endif()
......
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