Hi,
I’m using cmake 3.17.0 and then tried 3.17.5. Our cmake code base uses the commands:
message( STATUS “---- ${resolvedFileToInstall} -> ${to_directory}” )
install(
FILES “${resolvedFileToInstall}”
DESTINATION “${to_directory}/”
COMPONENT “${resourcesComponent}”
)
One such use shows (in the message):
---- D:/Build4/gitAll/gpc/gis/resources/landClassification/IGBPa_1198.dat -> resources/landClassification/
Though only a single file is specified (IGBPa_1198.dat), the contents of the landClassification directory are all copied and placed in the installer. Is this a bug in the install command?
thanks,
matthew