26 lines
650 B
CMake
26 lines
650 B
CMake
|
|
||
|
set (LIBSWIFLI_SOURCES
|
||
|
swi.c blobs.c)
|
||
|
|
||
|
set (POSITION_INDEPENDENT_CODE TRUE)
|
||
|
|
||
|
add_library (libSWIFLi OBJECT
|
||
|
${LIBSWIFLI_SOURCES})
|
||
|
|
||
|
set_target_properties(libSWIFLi
|
||
|
PROPERTIES
|
||
|
# RPATH ${libdir} VERSION ${LIBYAPTAI_FULL_VERSION}
|
||
|
# SOVERSION ${LIBYAPTAI_MAJOR_VERSION}.${LIBYAPTAI_MINOR_VERSION}
|
||
|
POSITION_INDEPENDENT_CODE TRUE
|
||
|
OUTPUT_NAME swiFLI
|
||
|
)
|
||
|
|
||
|
include_directories (../../../H ../.../../include ../os ${CMAKE_BINARY_DIR} ${GMP_INCLUDE_DIR})
|
||
|
|
||
|
target_link_libraries( libYap)
|
||
|
|
||
|
set( CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${GMP_INCLUDE_DIR} )
|
||
|
#set( CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${GMP_LIBRARIES} )
|
||
|
|
||
|
|