[cmake-developers] enable_language behavior change
Robert Dailey
rcdailey.lists at gmail.com
Thu Mar 23 11:16:43 EDT 2017
I remember around cmake v3.6, the behavior of enable_language()
changed so that if you did it too many times, you'd get the error:
Language 'C' is currently being enabled. Recursive call not allowed.
I need to implement some backward compatibility code to check of CMake
version less than 3.6 (or appropriate version), then still call
enable_language(), otherwise do not call it.
Is 3.6 the correct version in which this behavior was introduced?
More information about the cmake-developers
mailing list