Fixed library usage from other cmake project