From 79eb80725aeb8710bead7ed98dc139113f018da6 Mon Sep 17 00:00:00 2001 From: Dan Liew Date: Wed, 23 Nov 2016 12:45:47 +0000 Subject: [CMake] Fix bug where the wrong path is checked for when checking to see if we can find klee-uclibc's C library. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 310d43a1..4d75ab10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -578,7 +578,7 @@ if (ENABLE_KLEE_UCLIBC) # Find the C library bitcode archive set(KLEE_UCLIBC_BCA_NAME "klee-uclibc.bca") set(KLEE_UCLIBC_C_BCA "${KLEE_UCLIBC_PATH}/lib/libc.a") - if (NOT EXISTS "${KLEE_UCLIBC_PATH}") + if (NOT EXISTS "${KLEE_UCLIBC_C_BCA}") message(FATAL_ERROR "klee-uclibc library not found at \"${KLEE_UCLIBC_C_BCA}\"") endif() -- cgit 1.4.1