set(SRCS
	Address.cpp
	Connection.cpp
	HttpConnection.cpp
	HttpRequestImpl.cpp
	HttpResponseImpl.cpp
	Mutex.cpp
	Responder.cpp
	ResponderModule.cpp
	Server.cpp
	ServerWorker.cpp
	String.cpp
	Util.cpp
	main.cpp
)
add_executable(xviweb ${SRCS})

set_target_properties(xviweb PROPERTIES ENABLE_EXPORTS ON)

target_link_libraries(xviweb dl pthread)

install(
	TARGETS xviweb
	RUNTIME DESTINATION bin
)

set(SRCS
	Address.cpp
	Connection.cpp
	HttpConnection.cpp
	HttpRequestImpl.cpp
	HttpResponseImpl.cpp
	Mutex.cpp
	Responder.cpp
	ResponderModule.cpp
	Server.cpp
	ServerWorker.cpp
	String.cpp
	Util.cpp
	main.cpp
)
add_executable(xviweb ${SRCS})

set_target_properties(xviweb PROPERTIES ENABLE_EXPORTS ON)

target_link_libraries(xviweb dl)

install(
	TARGETS xviweb
	RUNTIME DESTINATION bin
)

Revert "Made the xviweb executable link to the pthread library."
Revert "Made the xviweb executable link to the pthread library."

This reverts commit ae17349e681ea7b31dcae21493e7e1f39dadad6f.
