CMP0122-OLD-check.cmake 273 B

12345678910
  1. cmake_policy(VERSION 3.5)
  2. file(STRINGS "${RunCMake_TEST_BINARY_DIR}/CMP0122-library-name.txt" prefixes)
  3. list(GET prefixes 1 lib_prefix)
  4. if (lib_prefix)
  5. # prefix must be empty
  6. string (APPEND RunCMake_TEST_FAILED "\nFound unexpected prefix: '${lib_prefix}'.")
  7. endif()