From 419e8888d04345a4eeac1afb175c1054f4635194 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Tue, 16 Apr 2013 00:24:42 +0200 Subject: [PATCH] Fix for #193 - Can't build on OpenBSD --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b4e61a5..333b9c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,11 @@ endif() include_directories("${PROJECT_SOURCE_DIR}") include_directories(${SQLITE3_INCLUDE_DIRS}) +if (UNIX) +link_directories(/usr/local/lib) +endif() + + file (GLOB uhub_SOURCES ${PROJECT_SOURCE_DIR}/core/*.c) list (REMOVE_ITEM uhub_SOURCES ${PROJECT_SOURCE_DIR}/core/gen_config.c