view extensions/app_diameap/plugins/eap_tls/CMakeLists.txt @ 840:365f1ed01cd1

Similarly fix compilation for extensions plugins, it seems the CMake on OS X platform does not like unresolved symbols for modules.
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 15 Oct 2012 20:22:42 +0200
parents 0c6e50a5291d
children 5c4cf8d15ef0
line wrap: on
line source

# The EAP-TLS Plugin
PROJECT("EAP-TLS Plugin" C)

# Parser for the configuration file 
BISON_FILE(eaptls.y)
FLEX_FILE(eaptls.l)

SET_SOURCE_FILES_PROPERTIES(lex.eaptls.c eaptls.tab.c PROPERTIES COMPILE_FLAGS "-I \"${CMAKE_CURRENT_SOURCE_DIR}\"")

EAP_ADD_METHOD(eap_tls
    eap_tls.c
    eap_tls.h    
    lex.eaptls.c
    eaptls.tab.c
    eaptls.tab.h
    )

TARGET_LINK_LIBRARIES(eap_tls ${GNUTLS_LIBRARIES})
"Welcome to our mercurial repository"