Skip to content
Snippets Groups Projects
Commit 84d431d1 authored by patmjen's avatar patmjen
Browse files

Compile surfseg using fast floating point

parent 073bf23a
No related branches found
No related tags found
No related merge requests found
......@@ -6,5 +6,10 @@ add_library(surfseg STATIC graph.cpp MaxFlow.cpp surface_segment.cpp manifold_me
target_compile_definitions (surfseg PRIVATE NO_OPENGL)
set_property(TARGET surfseg PROPERTY POSITION_INDEPENDENT_CODE ON)
if (WIN32)
# TODO: Should actually check for MSVC compiler
# TODO: Add similar flags for other compilers
set_target_properties (surfseg PROPERTIES COMPILE_FLAGS "/Z7 /fp:fast")
endif ()
target_link_libraries(surfseg GEL)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment