mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
test-export: adjust libevent version
This commit is contained in:
parent
813cc73925
commit
1acaa9a2cc
@ -7,7 +7,7 @@ project(verify)
|
||||
if(NOT ${EVENT__CODE_COMPONENT} STREQUAL "")
|
||||
string(TOUPPER ${EVENT__CODE_COMPONENT} _UPPER_COMPONENT)
|
||||
endif()
|
||||
find_package(Libevent 2.2.0 REQUIRED COMPONENTS ${EVENT__LINK_COMPONENT})
|
||||
find_package(Libevent 2.1.0 REQUIRED COMPONENTS ${EVENT__LINK_COMPONENT})
|
||||
add_definitions(-DEVENT_EXPORT_TEST_COMPONENT_${_UPPER_COMPONENT})
|
||||
add_executable(test-export test-export.c)
|
||||
target_link_libraries(test-export ${LIBEVENT_LIBRARIES})
|
||||
|
Loading…
x
Reference in New Issue
Block a user