Fix for #193 - Can't build on OpenBSD
This commit is contained in:
parent
73b4d51393
commit
419e8888d0
|
@ -57,6 +57,11 @@ endif()
|
||||||
include_directories("${PROJECT_SOURCE_DIR}")
|
include_directories("${PROJECT_SOURCE_DIR}")
|
||||||
include_directories(${SQLITE3_INCLUDE_DIRS})
|
include_directories(${SQLITE3_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
if (UNIX)
|
||||||
|
link_directories(/usr/local/lib)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
file (GLOB uhub_SOURCES ${PROJECT_SOURCE_DIR}/core/*.c)
|
file (GLOB uhub_SOURCES ${PROJECT_SOURCE_DIR}/core/*.c)
|
||||||
list (REMOVE_ITEM uhub_SOURCES
|
list (REMOVE_ITEM uhub_SOURCES
|
||||||
${PROJECT_SOURCE_DIR}/core/gen_config.c
|
${PROJECT_SOURCE_DIR}/core/gen_config.c
|
||||||
|
|
Loading…
Reference in New Issue