Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vova Manannikov committed Mar 22, 2020
1 parent f773cd1 commit 6e6ea4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ IF (UNIX)
ENDIF(UNIX)

if(WIN32)
include(CheckCXXCompilerFlag)
check_cxx_compiler_flag(/d2FH4- HAS_D2FH4)
if (HAS_D2FH4)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /d2FH4-")
Expand Down

0 comments on commit 6e6ea4a

Please sign in to comment.