Depends. In France, a building can in itself be copyrighted, meaning you'd technially need permission from the "author" to publish a picture of it, unless the copyright has expired. [0]
Here's a funny one: in France, the Eiffel Tower copyright has expired; however, courts have deemed that the lighting display on the tower is a protected work, still copyrighted. Meaning you are allowed to publish pictures of the Eiffel Tower taken at day, but not at night -- unless you have permission. [1]
[0] https://en.wikipedia.org/wiki/Freedom_of_panorama#European_U...
[1] https://en.wikipedia.org/wiki/Eiffel_Tower#Image_copyright_c...