mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
28a92bde80
Issue: #26067
16 lines
491 B
CMake
16 lines
491 B
CMake
set(expected
|
|
"Import Simple Found: TRUE
|
|
Include Directories: ${RunCMake_SOURCE_DIR}/TestDirectories/Include
|
|
Compile Options: TestCflag
|
|
Link Directories: ${RunCMake_SOURCE_DIR}/TestDirectories/Library
|
|
Link Libraries: @foreign_pkgcfg::import-simple
|
|
Link Options: TestLinkOption
|
|
"
|
|
)
|
|
|
|
file(READ "${RunCMake_TEST_BINARY_DIR}/import-simple.txt" actual)
|
|
|
|
if(NOT(expected STREQUAL actual))
|
|
set(RunCMake_TEST_FAILED "cmake_pkg_config import-simple.txt does not match expected:\n${actual}")
|
|
endif()
|