fixing cmake warning