This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/CXX/CMakeLists.txt

15 lines
362 B
CMake
Raw Normal View History

2015-01-20 03:00:42 +00:00
add_library (Yap++ SHARED yapi.cpp)
2015-06-18 00:52:31 +01:00
include_directories (H include ${CMAKE_BINARY_DIR} ${GMP_INCLUDE_DIR})
2015-01-26 04:02:46 +00:00
2015-01-20 03:00:42 +00:00
target_link_libraries(Yap++ libYap)
install(TARGETS Yap++
LIBRARY DESTINATION ${libdir} )
2015-01-26 04:02:46 +00:00
set( CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${GMP_INCLUDE_DIR} )
#set( CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${GMP_LIBRARIES} )
2015-01-20 03:00:42 +00:00