d648c4766f
Commit b8af2011 (cmTarget: Fix listing of source files at configure-time., 2014-04-13) refactored a GetObjectLibrariesCMP0026 method out of GetLanguages. In flight, a conditional use of a target if available was changed to an assert-available. This code is only used to read the LOCATION property at configure time, when the link information is incomplete, and not all targets are defined, so the assert is inappropriate, even though it can lead to incorrect information being generated. CMP0026 warns about the potentially incorrect information anyway.
13 lines
358 B
CMake
13 lines
358 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(CMP0026-WARN)
|
|
run_cmake(CMP0026-NEW)
|
|
run_cmake(CMP0026-IMPORTED)
|
|
run_cmake(CMP0026-CONFIG-LOCATION-NEW)
|
|
run_cmake(CMP0026-CONFIG-LOCATION-OLD)
|
|
run_cmake(CMP0026-CONFIG-LOCATION-WARN)
|
|
run_cmake(CMP0026-LOCATION-CONFIG-NEW)
|
|
run_cmake(CMP0026-LOCATION-CONFIG-OLD)
|
|
run_cmake(CMP0026-LOCATION-CONFIG-WARN)
|
|
run_cmake(ObjlibNotDefined)
|