Fix CMake Windows compilation

This commit is contained in:
Prince Gupta 2019-06-21 18:05:19 +05:30
commit ece70daaa5
3 changed files with 3 additions and 4 deletions

View file

@ -1,7 +1,7 @@
if (STACKTRACE)
if ("${WINXXBITS}" NOT STREQUAL "Win64")
if (NOT "${WINXXBITS}" STREQUAL "Win64")
add_compile_options(-fno-omit-frame-pointer)
endif ("${WINXXBITS}" NOT STREQUAL "Win64")
endif (NOT "${WINXXBITS}" STREQUAL "Win64")
link_libraries(libdbghelp -Wl,--export-all-symbols)
endif (STACKTRACE)