Anyone knows?
Seems by default all libraries/executables are built in debug mode.
Can be controlled by setting CMAKE_BUILD_TYPE variable, see cmake docs.
CMAKE_BUILD_TYPE