mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Build System
- Removed code that searches for the pthreads and Lua51 libraries.
This commit is contained in:
parent
92c3f0862d
commit
638a242476
1 changed files with 0 additions and 19 deletions
|
@ -48,25 +48,6 @@ set (PACKAGE_TARNAME "${PACKAGE}")
|
|||
set (PACKAGE_VERSION "${VERSION}")
|
||||
set (PACKAGE_STRING "${PACKAGE} ${VERSION}")
|
||||
|
||||
message ("-- Looking for Lua51")
|
||||
find_package (Lua51)
|
||||
if (LUA51_FOUND)
|
||||
message ("-- Found Lua51: ${LUA_LIBRARIES}")
|
||||
set (HAVE_LIBLUA true)
|
||||
set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${LUA_INCLUDE_DIR})
|
||||
set (TASK_LIBRARIES ${TASK_LIBRARIES} ${LUA_LIBRARIES})
|
||||
endif (LUA51_FOUND)
|
||||
|
||||
#message ("-- Looking for pthread")
|
||||
#find_path (PTHREAD_INCLUDE_DIR pthread.h)
|
||||
#find_library (PTHREAD_LIBRARY NAMES pthread)
|
||||
#if (PTHREAD_INCLUDE_DIR AND PTHREAD_LIBRARY)
|
||||
# message ("-- Found pthread: ${PTHREAD_LIBRARY}")
|
||||
# set (HAVE_LIBPTHREAD true)
|
||||
# set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${PTHREAD_INCLUDE_DIR})
|
||||
# set (TASK_LIBRARIES ${TASK_LIBRARIES} ${PTHREAD_LIBRARIES})
|
||||
#endif (PTHREAD_INCLUDE_DIR AND PTHREAD_LIBRARY)
|
||||
|
||||
check_function_exists (random HAVE_RANDOM)
|
||||
check_function_exists (srandom HAVE_SRANDOM)
|
||||
check_function_exists (timegm HAVE_TIMEGM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue