Mike Jackson escreveu:

> INSTALL(DIRECTORY src/
>  DESTINATION include/MXADataModel
>  REGEX ".*\\.h$"
> )
> 
> which I think should work. So what am I doing wrong?

I think that the regex must also match the directories that contain the
header files. If a directory doesn't match, its files aren't processed.
I overcame this issue using file(GLOB_RECURSE ...), which works quite
well, despite this solution not being the most direct.

Regards,
rod

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to