Skip to content

Commit

Permalink
Add CMake option for double precision
Browse files Browse the repository at this point in the history
  • Loading branch information
rickertm committed Sep 14, 2016
1 parent 1c32304 commit ff3e18a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Expand Up @@ -30,6 +30,12 @@ if(NOT DYNAMIC_SOLID)
add_definitions(-DSOLID_STATIC)
endif(NOT DYNAMIC_SOLID)

option(USE_DOUBLES "Use double-precision floating-point numbers." OFF)

if(USE_DOUBLES)
add_definitions(-DUSE_DOUBLES)
endif(USE_DOUBLES)

include_directories(
${PROJECT_SOURCE_DIR}/include
)
Expand Down

0 comments on commit ff3e18a

Please sign in to comment.