Make stuff work

This commit is contained in:
WolverinDEV 2020-01-24 17:06:52 +01:00
parent 239c6e69f9
commit deeba1b73e

View File

@ -25,8 +25,13 @@ include_directories(${TomCrypt_INCLUDE_DIR})
find_package(DataPipes REQUIRED)
include_directories(${DataPipes_INCLUDE_DIR})
find_package(Libevent REQUIRED)
include_directories(${LIBEVENT_INCLUDE_DIRS})
# 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()
find_package(StringVariable REQUIRED)
include_directories(${StringVariable_INCLUDE_DIR})