Fix for #193 - Can't build on OpenBSD

This commit is contained in:
Jan Vidar Krey 2013-04-16 00:24:42 +02:00
parent 73b4d51393
commit 419e8888d0
1 changed files with 5 additions and 0 deletions

View File

@ -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