set(SRC_COMMON utils.c) # configure a header file to pass some of the CMake settings # to the source code configure_file ( "myhttpd.h.in" "${PROJECT_BINARY_DIR}/myhttpd.h" ) add_executable(myhttpd myhttpd.c ${SRC_COMMON} ) #target_link_libraries(netlem SDL SDL_net SDL_image)