CMake Error: Erroneous option\(s\) for 'CMAKE_LINK_LIBRARY_feature_ATTRIBUTES': LIBRARY_TYPE=STATIC,BAD_TYPE