blob: ce54ab9827c264d3339bbed6a1efc588ea73578a (
plain)
1
2
3
4
5
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)
|