[CMake] cmake version 2.5-20060616 -- INSTALL(DIRECTORY ...) broken?

kent williams nkwmailinglists at gmail.com
Tue May 22 11:08:48 EDT 2007


According to the man pages for 2.4-patch 7 RC-6 on CMake.org, there is
a form of the INSTALL command for directories.  After reading through
the description, I added a command to install a subdirectory into the
bin install directory:

INSTALL(DIRECTORY pipeline_approved DESTINATION bin)

i.e. pipeline_approved is a directory in the same directory as my
CMakeLists.txt, and I want the file to go into the installation tree
bin directory.

But when I run CMake, I get this message:

CMake Error: Error in cmake code at
/Volumes/Scratch/kent/brains2/src/iplProg/CMakeLists.txt:61:
INSTALL called with unknown mode DIRECTORY
-- cmake src dir = /Volumes/Scratch/kent/brains2

What's up with that?


More information about the CMake mailing list