No, you can use two different licenses for the assets and for the code.
Furthermore, it is possible to use assets with different licenses in one game.