From 98b1d3a1fb6bedf8166c7c77292bea72200c3564 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 5 Jul 2019 20:58:55 +0200 Subject: [PATCH] Fixed build path for libevent --- cmake/config/tearoot-client.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/config/tearoot-client.cmake b/cmake/config/tearoot-client.cmake index 6053bd1..bf4025f 100644 --- a/cmake/config/tearoot-client.cmake +++ b/cmake/config/tearoot-client.cmake @@ -17,7 +17,11 @@ SET(DataPipes_ROOT_DIR "${LIBRARY_PATH}/DataPipes/${BUILD_OUTPUT}") SET(StringVariable_ROOT_DIR "${LIBRARY_PATH}/StringVariable/${BUILD_OUTPUT}") SET(ThreadPool_ROOT_DIR "${LIBRARY_PATH}/Thread-Pool/${BUILD_OUTPUT}") SET(ed25519_ROOT_DIR "${LIBRARY_PATH}/ed25519/${BUILD_OUTPUT}") -SET(Libevent_DIR "${LIBRARY_PATH}/libevent/${BUILD_OUTPUT}/cmake") +if(BUILD_OS_TYPE STREQUAL "win32") + SET(Libevent_DIR "${LIBRARY_PATH}/libevent/${BUILD_OUTPUT}/cmake") +else() + SET(Libevent_DIR "${LIBRARY_PATH}/libevent/${BUILD_OUTPUT}") +endif() SET(soxr_ROOT_DIR "${LIBRARY_PATH}/soxr/${BUILD_OUTPUT}") SET(PortAudio_ROOT_DIR "${LIBRARY_PATH}/portaudio/${BUILD_OUTPUT}") SET(fvad_ROOT_DIR "${LIBRARY_PATH}/libfvad/${BUILD_OUTPUT}")