mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
VTKMConfig.cmake now properly sets VTKm_PACKAGE_IN_BUILD
This commit is contained in:
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.
|
||||
|
Loading…
Reference in New Issue
Block a user