02_fix_kfreebsd_build.patch
quassel-0.7.1/src/common/CMakeLists.txt | ||
---|---|---|
79 | 79 |
endif(APPLE) |
80 | 80 | |
81 | 81 |
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") |
82 |
set(FIND_LIBDL TRUE) |
|
83 |
endif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") |
|
84 |
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "kFreeBSD") |
|
85 |
set(FIND_LIBDL TRUE) |
|
86 |
endif(CMAKE_HOST_SYSTEM_NAME STREQUAL "kFreeBSD") |
|
87 | ||
88 |
if(FIND_LIBDL) |
|
82 | 89 |
find_library(libdl dl) |
83 | 90 |
if(NOT libdl MATCHES "NOTFOUND") |
84 | 91 |
target_link_libraries(mod_common ${libdl}) |
85 | 92 |
endif(NOT libdl MATCHES "NOTFOUND") |
86 |
endif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux") |
|
93 |
endif(FIND_LIBDL) |