mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
crude build fix for FreeBSD
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
b2075879c1
commit
9d9ecd701d
1 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,12 @@ if(NOT CMAKE_VERSION VERSION_LESS "3.3.0")
|
|||
cmake_policy(SET CMP0063 NEW)
|
||||
endif()
|
||||
|
||||
# LLVM linker does not have a default library search path and only library names are received
|
||||
# from pkg-config queries, add some directories known to contain system wide libraries
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "BSD")
|
||||
link_directories(/usr/local/lib /usr/lib /lib)
|
||||
endif()
|
||||
|
||||
include(CheckIncludeFile)
|
||||
include(CheckIncludeFileCXX)
|
||||
include(CheckTypeSize)
|
||||
|
|
Loading…
Add table
Reference in a new issue