mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
1d8e3a1e77
Fixes: #21542
11 lines
273 B
CMake
11 lines
273 B
CMake
|
|
cmake_policy(VERSION 3.1)
|
|
|
|
file(STRINGS "${RunCMake_TEST_BINARY_DIR}/CMP0122-library-name.txt" prefixes)
|
|
|
|
list(GET prefixes 1 lib_prefix)
|
|
if (lib_prefix)
|
|
# prefix must be empty
|
|
string (APPEND RunCMake_TEST_FAILED "\nFound unexpected prefix: '${lib_prefix}'.")
|
|
endif()
|