cmake: Fix accidentally exporting warnings

closes #103
1 file changed