Permalink
Browse files

Remove testing code.

  • Loading branch information...
1 parent a708f01 commit 5c5e84ccdba3f31f7c88077729700b4368320bc2 Caleb James DeLisle committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmake/modules/FindLibevent2.cmake
@@ -54,7 +54,7 @@ if (NOT LIBEVENT2_FOUND AND "$ENV{STATIC}" STREQUAL "")
set(srcfile "${CMAKE_BINARY_DIR}/libevent2/linktest.c")
file(WRITE
${CMAKE_BINARY_DIR}/libevent2/linktest.c
- "int main() { event_neww(); return 0; }\n"
+ "int main() { event_new(); return 0; }\n"
)
try_compile(success ${CMAKE_BINARY_DIR}/libevent2 ${srcfile}
CMAKE_FLAGS "-DLINK_LIBRARIES:STRING=${LIBEVENT2_LIBRARIES}"

0 comments on commit 5c5e84c

Please sign in to comment.