LibJS: Remove compile flag for Windows

This commit is contained in:
R-Goc 2024-11-21 20:51:35 +01:00 committed by Andrew Kaster
parent f380b4b95b
commit 18132a0be1
Notes: github-actions[bot] 2024-12-09 00:57:30 +00:00

View file

@ -272,5 +272,9 @@ if("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "i.86.*")
target_link_libraries(LibJS PRIVATE atomic)
endif()
target_compile_options(LibJS PRIVATE -fno-omit-frame-pointer)
# This flag has no effect on Windows
if (NOT WIN32)
target_compile_options(LibJS PRIVATE -fno-omit-frame-pointer)
endif()
target_link_libraries(LibJS PUBLIC JSClangPlugin)