support CMAKE_FLAGS