Browse Source

Fix option name in winconf-xxx.cmake

The mistake was made by commit 7712d0ada0
adaptive-webui-19844
Eugene Shalygin 7 years ago
parent
commit
0e655b4f9a
  1. 4
      cmake/Modules/winconf-mingw.cmake
  2. 4
      cmake/Modules/winconf-msvc.cmake

4
cmake/Modules/winconf-mingw.cmake

@ -1,9 +1,9 @@
if (STACKTRACE_WIN) if (STACKTRACE)
if ("${WINXXBITS}" NOT STREQUAL "Win64") if ("${WINXXBITS}" NOT STREQUAL "Win64")
add_compile_options(-fno-omit-frame-pointer) add_compile_options(-fno-omit-frame-pointer)
endif ("${WINXXBITS}" NOT STREQUAL "Win64") endif ("${WINXXBITS}" NOT STREQUAL "Win64")
link_libraries(libdbghelp -Wl,--export-all-symbols) link_libraries(libdbghelp -Wl,--export-all-symbols)
endif (STACKTRACE_WIN) endif (STACKTRACE)
if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo")) if (("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") OR ("${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo"))
link_libraries(-Wl,--dynamicbase) link_libraries(-Wl,--dynamicbase)

4
cmake/Modules/winconf-msvc.cmake

@ -1,4 +1,4 @@
if (STACKTRACE_WIN) if (STACKTRACE)
if ("${WINXXBITS}" STREQUAL "Win64") if ("${WINXXBITS}" STREQUAL "Win64")
add_compile_options(-Zi) add_compile_options(-Zi)
else ("${WINXXBITS}" STREQUAL "Win64") else ("${WINXXBITS}" STREQUAL "Win64")
@ -6,7 +6,7 @@ if (STACKTRACE_WIN)
add_compile_options(-Oy-) add_compile_options(-Oy-)
endif ("${WINXXBITS}" STREQUAL "Win64") endif ("${WINXXBITS}" STREQUAL "Win64")
link_libraries(dbghelp.lib) link_libraries(dbghelp.lib)
endif (STACKTRACE_WIN) endif (STACKTRACE)
# Enable Wide characters # Enable Wide characters
add_definitions(-DTORRENT_USE_WPATH) add_definitions(-DTORRENT_USE_WPATH)

Loading…
Cancel
Save