fix(cmake): make library component optional (#4805)

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
1 file changed