13 lines
366 B
CMake
13 lines
366 B
CMake
SET(DHCPD_PROJECT_TARGET opendhcpd)
|
|
|
|
PROJECT(${DHCPD_PROJECT_TARGET} CXX)
|
|
|
|
INCLUDE_DIRECTORIES(../libs/include ./)
|
|
|
|
FILE(GLOB DHCPD_HEADS ./*.h)
|
|
|
|
add_definitions(-Wno-format-overflow)
|
|
#ADD_EXECUTABLE(${PROJECT_TARGET} opendhcpd.cpp ${DHCPD_HEADS})
|
|
ADD_LIBRARY(${DHCPD_PROJECT_TARGET} opendhcpd.cpp ${DHCPD_HEADS})
|
|
|
|
#TARGET_LINK_LIBRARIES(${PROJECT_TARGET} -lpthread) |