17 lines
291 B
CMake
17 lines
291 B
CMake
CMAKE_MINIMUM_REQUIRED ( VERSION 2.8 )
|
|
|
|
PROJECT ( YAP_UDI_UTHASH )
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
.
|
|
)
|
|
|
|
SET ( SOURCES
|
|
uthash_udi.c
|
|
)
|
|
|
|
add_library(udi_uthash ${SOURCES})
|
|
|
|
INSTALL(TARGETS udi_uthash DESTINATION ${YAP_PL_LIBRARY_DIR})
|
|
INSTALL(FILES uthash.yap DESTINATION ${YAP_PL_LIBRARY_DIR})
|