mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
11 lines
253 B
CMake
11 lines
253 B
CMake
# Check that we're linking to an object file on disk
|
|
# and not to "-objects" alias (which only exists for non-imported targets).
|
|
set(REGEX_TO_MATCH "
|
|
.*.Libraries =
|
|
.*{
|
|
.*'MyApp_CXX_Objs_1',
|
|
.*dummy.o'
|
|
.*}
|
|
")
|
|
include(${RunCMake_SOURCE_DIR}/check.cmake)
|