forked from bartvdbraak/blender
83f8223543
Required for the new boolean code, disabled by default until all platforms have landed the libs and the boolean code actually lands in master. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8384
23 lines
448 B
Plaintext
23 lines
448 B
Plaintext
cmake_minimum_required(VERSION 3.1)
|
|
project(libgmpxx)
|
|
|
|
include_directories(. cxx ${GMP_INCLUDE_DIR})
|
|
add_definitions(-D__GMP_WITHIN_GMPXX)
|
|
add_library(libgmpxx SHARED
|
|
cxx/dummy.cc
|
|
cxx/isfuns.cc
|
|
cxx/ismpf.cc
|
|
cxx/ismpq.cc
|
|
cxx/ismpz.cc
|
|
cxx/ismpznw.cc
|
|
cxx/limits.cc
|
|
cxx/osdoprnti.cc
|
|
cxx/osfuns.cc
|
|
cxx/osmpf.cc
|
|
cxx/osmpq.cc
|
|
cxx/osmpz.cc
|
|
)
|
|
|
|
target_link_libraries(libgmpxx ${GMP_LIBRARY})
|
|
install(TARGETS libgmpxx DESTINATION lib)
|