This error appeared since the switch to git.
CMake Error at po/wxvbam/CMakeLists.txt:9 (ADD_DEPENDENCIES):
Cannot add target-level dependencies to non-existent target "wxvbam".
The add_dependencies works for top-level logical targets created by the
add_executable, add_library, or add_custom_target commands. If you want to
add file-level dependencies see the DEPENDS option of the add_custom_target
and add_custom_command commands.
-- Configuring incomplete, errors occurred!
See also "/home/sergio/Projects/VBA-M/visualboyadvance-m/obj-x86_64-linux-gnu/CMakeFiles/CMakeOutput.log".
See also "/home/sergio/Projects/VBA-M/visualboyadvance-m/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log".
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DENABLE_LINK=ON -DCMAKE_C_FLAGS=-DFINAL_BUILD -DCMAKE_SKIP_RPATH=ON -DENABLE_GTK=ON returned exit code 1
CMakeOutput.log
CMakeError.log
Fixed by PR4