cmake: seperate shared/static lib build conditions
cmake: seperate shared/static lib build conditions

Change-Id: I4809d03bbd7a5f3cbe1b1721fd2aa605f9424e31

savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc