VTKMConfig.cmake now properly sets VTKm_PACKAGE_IN_BUILD

This commit is contained in:
Robert Maynard 2016-06-23 14:28:50 -04:00
parent 1f5a74fb30
commit b0d3591933

@ -34,7 +34,7 @@ set(VTKm_VERSION "@VTKm_VERSION@")
# This is true when the package is still in the build directory (not installed)
if(CMAKE_CURRENT_LIST_DIR STREQUAL "@VTKm_BINARY_DIR@/@VTKm_INSTALL_CONFIG_DIR@")
set(VTKm_PACKAGE_IN_BUILD)
set(VTKm_PACKAGE_IN_BUILD TRUE)
endif()
# The VTKm include file directories.