Skip to content

Commit

Permalink
cmake: Drop broken gmp include
Browse files Browse the repository at this point in the history
This seems to be broken because `GMP_INCLUDE_DIR` isn't set at all by `Findgmp.cmake`, it sets `GMP_INCLUDES` instead. It's however set by relic's script which isn't configured at this point though. If you want to keep this include it should be `include_directories(${GMP_INCLUDES})` rather i guess?
  • Loading branch information
xdustinface authored and hoffmang9 committed Mar 9, 2021
1 parent aa515f7 commit c2b1eaa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ set(STBIN TRUE)
find_package(gmp)
if (GMP_FOUND)
message(STATUS "Found libgmp")
include_directories(${GMP_INCLUDE_DIR})
set(ARITH "gmp" CACHE STRING "")
else()
set(ARITH "easy" CACHE STRING "")
Expand Down

0 comments on commit c2b1eaa

Please sign in to comment.