I\'ve seen that I can use this command in order to copy a directory using cmake:
file(COPY \"myDir\" DESTINATION \"myDestination\")
(from t
I've found the solution by myself:
file(GLOB MY_PUBLIC_HEADERS "myDir/*.h" ) file(COPY ${MY_PUBLIC_HEADERS} DESTINATION myDestination)