Skip to content

Commit

Permalink
Remove pthreads from cmake list, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Maher committed Apr 24, 2010
1 parent ebbfce7 commit 8084329
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 105 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Expand Up @@ -27,18 +27,14 @@ CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
FIND_PACKAGE(Lua51 REQUIRED)
# / Find lua

# Find pthreads:
INCLUDE(FindPthreads.cmake)
# / Find pthreads

# Define how to build ev.so:
INCLUDE_DIRECTORIES(${LIBEV_INCLUDE_DIR} ${LUA_INCLUDE_DIR} ${PTHREADS_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${LIBEV_INCLUDE_DIR} ${LUA_INCLUDE_DIR})
ADD_LIBRARY(cmod_ev MODULE
lua_ev.c
)
SET_TARGET_PROPERTIES(cmod_ev PROPERTIES PREFIX "")
SET_TARGET_PROPERTIES(cmod_ev PROPERTIES OUTPUT_NAME ev)
TARGET_LINK_LIBRARIES(cmod_ev ${LUA_LIBRARIES} ${LIBEV_LIBRARY} ${PTHREADS_LIBRARY})
TARGET_LINK_LIBRARIES(cmod_ev ${LUA_LIBRARIES} ${LIBEV_LIBRARY})
# / build ev.so

# Define how to test ev.so:
Expand Down
98 changes: 0 additions & 98 deletions FindPthreads.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion test/test_ev_loop.lua
Expand Up @@ -15,7 +15,7 @@ ok(num == 0,

num = ev.Loop.default:depth()
ok(num == 0,
"depth=" .. depth)
"depth=" .. num)

-- Shouldn't do anything:
ev.Loop.default:fork()
Expand Down

0 comments on commit 8084329

Please sign in to comment.