Skip to content

Commit

Permalink
Don't set these flags for MSVC builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineKhaldi authored and hoffmang9 committed Jul 26, 2021
1 parent 1b9b83f commit 3397ab1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ ENDIF()
set(STBIN "OFF" CACHE STRING "")

set(FP_METHD "INTEG;INTEG;INTEG;MONTY;LOWER;SLIDE" CACHE STRING "")
set(CFLAGS "-O3 -funroll-loops -fomit-frame-pointer" CACHE STRING "")

if(NOT MSVC)
set(CFLAGS "-O3 -funroll-loops -fomit-frame-pointer" CACHE STRING "")
endif()

set(FP_PMERS "off" CACHE STRING "")
set(FPX_METHD "INTEG;INTEG;LAZYR" CACHE STRING "")
set(EP_PLAIN "off" CACHE STRING "")
Expand Down

0 comments on commit 3397ab1

Please sign in to comment.