1project (libckteec-headers C) 2 3FILE(GLOB INSTALL_HEADERS "*.h") 4 5add_library(${PROJECT_NAME} INTERFACE) 6target_include_directories( 7 ${PROJECT_NAME} 8 INTERFACE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}> 9 $<INSTALL_INTERFACE:{CMAKE_INSTALL_INCLUDEDIR}> 10) 11 12install (FILES ${INSTALL_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) 13