From 091e2872e4658e2689be7061cdd775e8b8baf771 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Wed, 13 Jul 2011 11:45:58 +0000
Subject: [PATCH] - Added missing definition of LIB_INSTALL_DIR
---
CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c6a583ec..32a51db62 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,11 @@ endif(CMAKE_BUILD_TYPE STREQUAL "Coverage")
option(USE_PKCS11_HELPER_LIBRARY "Build PolarSSL with the pkcs11-helper library." OFF)
+if(LIB_INSTALL_DIR)
+else()
+set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib)
+endif()
+
include_directories(include/)
add_subdirectory(library)