Using CACHE INTERNAL instead of PARENT_SCOPE in CMakeLists.