summaryrefslogtreecommitdiff
path: root/libs/libevent/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libevent/CMakeLists.txt')
-rw-r--r--libs/libevent/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/libevent/CMakeLists.txt b/libs/libevent/CMakeLists.txt
new file mode 100644
index 0000000000..ce54ab9827
--- /dev/null
+++ b/libs/libevent/CMakeLists.txt
@@ -0,0 +1,6 @@
+file(GLOB SOURCES "src/*.h" "src/*.c" "src/WIN32-Code/*.c")
+set(TARGET libevent)
+include_directories("include" "src/compat")
+include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake)
+set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "EVENT__NEED_DLLIMPORT")
+target_link_libraries(${TARGET} libeay32.lib ssleay32.lib) \ No newline at end of file