set(CMAKE_C_FLAGS "-std=c99") add_definitions(-fPIC) add_library(bitmap STATIC bitmap.c)