Skip to content
  • Brad King's avatar
    ENH: Do not compute link language for LOCATION · 2b5d9741
    Brad King authored
    The LOCATION property requires the full file name of a target to be
    computed.  Previously we computed the linker language for a target to
    look up variables such as CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>.  This led
    to locating all the source files immediately instead of delaying the
    search to generation time.  In the future even more computation will be
    needed to get the linker language, so it is better to avoid it.
    
    The _<LANG> versions of these variables are undocumented, not set in any
    platform file we provide, and do not produce hits in google.  This
    change just removes the unused feature outright.
    2b5d9741