Updates
This commit is contained in:
parent
4aec154ff1
commit
a8843f5311
|
@ -26,12 +26,16 @@ find_package(DataPipes REQUIRED)
|
|||
include_directories(${DataPipes_INCLUDE_DIR})
|
||||
|
||||
# LibEvent fucks up the CMAKE_FIND_LIBRARY_SUFFIXES variable
|
||||
function(find_event)
|
||||
set(LIBEVENT_STATIC_LINK TRUE)
|
||||
find_package(Libevent REQUIRED)
|
||||
include_directories(${LIBEVENT_INCLUDE_DIRS})
|
||||
endfunction()
|
||||
find_event()
|
||||
if (NOT find_event AND FALSE)
|
||||
function(find_event static)
|
||||
if(static)
|
||||
set(LIBEVENT_STATIC_LINK TRUE)
|
||||
endif()
|
||||
find_package(Libevent REQUIRED)
|
||||
include_directories(${LIBEVENT_INCLUDE_DIRS})
|
||||
endfunction()
|
||||
endif ()
|
||||
find_event(ON)
|
||||
|
||||
find_package(StringVariable REQUIRED)
|
||||
include_directories(${StringVariable_INCLUDE_DIR})
|
||||
|
|
Loading…
Reference in New Issue