summaryrefslogtreecommitdiff
path: root/libwaitress/src/CMakeLists.txt
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-06-11 19:36:06 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-06-11 19:41:55 +0200
commit8ac0b9532a34383d22b76ff7e274e32780891dc1 (patch)
tree6bbae93c881146e69997c9d3d50215689e671b4e /libwaitress/src/CMakeLists.txt
parent2a1e81927ef6fbf0d9c5fe4b6acf907a24eda3f7 (diff)
downloadpianobar-windows-8ac0b9532a34383d22b76ff7e274e32780891dc1.tar.gz
pianobar-windows-8ac0b9532a34383d22b76ff7e274e32780891dc1.tar.bz2
pianobar-windows-8ac0b9532a34383d22b76ff7e274e32780891dc1.zip
Switching build system again
Now it's plain make.
Diffstat (limited to 'libwaitress/src/CMakeLists.txt')
-rw-r--r--libwaitress/src/CMakeLists.txt23
1 files changed, 0 insertions, 23 deletions
diff --git a/libwaitress/src/CMakeLists.txt b/libwaitress/src/CMakeLists.txt
deleted file mode 100644
index 1985815..0000000
--- a/libwaitress/src/CMakeLists.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-INCLUDE (CheckFunctionExists)
-INCLUDE (CheckLibraryExists)
-
-set (CMAKE_C_FLAGS -Wall)
-set (EXTRA_LIBS "")
-
-# required on sunos
-CHECK_FUNCTION_EXISTS("connect" CMAKE_HAVE_CONNECT)
- IF(NOT CMAKE_HAVE_CONNECT)
- CHECK_LIBRARY_EXISTS("socket" "connect" "" CMAKE_LIB_SOCKET_HAS_CONNECT)
- IF (CMAKE_LIB_SOCKET_HAS_CONNECT)
- SET (EXTRA_LIBS -lsocket)
- ENDIF (CMAKE_LIB_SOCKET_HAS_CONNECT)
-ENDIF(NOT CMAKE_HAVE_CONNECT)
-
-configure_file (${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
- ${CMAKE_CURRENT_BINARY_DIR}/config.h)
-
-include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
-
-add_library (waitress STATIC waitress.c)
-target_link_libraries (waitress ${EXTRA_LIBS})
-