diff options
-rw-r--r-- | CMakeLists.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d75ab10..48a846fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -583,7 +583,7 @@ if (ENABLE_KLEE_UCLIBC) "klee-uclibc library not found at \"${KLEE_UCLIBC_C_BCA}\"") endif() message(STATUS "Found klee-uclibc library: \"${KLEE_UCLIBC_C_BCA}\"") - + # Make a symlink to KLEE_UCLIBC_C_BCA so KLEE can find it where it # is expected. file(MAKE_DIRECTORY "${KLEE_RUNTIME_DIRECTORY}") @@ -591,16 +591,16 @@ if (ENABLE_KLEE_UCLIBC) "${KLEE_UCLIBC_C_BCA}" "${KLEE_RUNTIME_DIRECTORY}/${KLEE_UCLIBC_BCA_NAME}" ) -list(APPEND KLEE_COMPONENT_CXX_DEFINES - -DKLEE_UCLIBC_BCA_NAME=\"${KLEE_UCLIBC_BCA_NAME}\") - -# Add klee-uclibc to the install target. We install the original -# file rather than the symlink because CMake would just copy the symlink -# rather than the file. -install(FILES "${KLEE_UCLIBC_C_BCA}" - DESTINATION "${KLEE_INSTALL_RUNTIME_DIR}" - RENAME "${KLEE_UCLIBC_BCA_NAME}" - ) + list(APPEND KLEE_COMPONENT_CXX_DEFINES + -DKLEE_UCLIBC_BCA_NAME=\"${KLEE_UCLIBC_BCA_NAME}\") + + # Add klee-uclibc to the install target. We install the original + # file rather than the symlink because CMake would just copy the symlink + # rather than the file. + install(FILES "${KLEE_UCLIBC_C_BCA}" + DESTINATION "${KLEE_INSTALL_RUNTIME_DIR}" + RENAME "${KLEE_UCLIBC_BCA_NAME}" + ) else() message(STATUS "klee-uclibc support disabled") |