add a note to CMakeLists.txt

(cherry picked from commit a0848af371d451e6ef69918bacf2dd42bf7a6202)