BTW please don't use SUBDIRS, use ADD_SUBDIRECTORY. SUBDIRS is archaic, has slightly different behavior, and is officially depreciated in the upcoming CMake 2.6. Cheers, Brandon Van Every