adding 3rdparty libs generation to CMake