You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
273 B
11 lines
273 B
3 years ago
|
|
||
|
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()
|