We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2543ac6 commit 800af43Copy full SHA for 800af43
CMakeLists.txt
@@ -51,6 +51,14 @@ add_compile_definitions(
51
$<$<COMPILE_LANGUAGE:C,CXX>:USE_PACKAGE_DATA=1>
52
$<$<COMPILE_LANGUAGE:C,CXX>:APPLE_ICU_CHANGES=1>)
53
54
+# Linux specific settings
55
+if(CMAKE_SYSTEM_NAME STREQUAL Linux)
56
+ # Pass -fno-omit-frame-pointer while compiling for better backtraces
57
+ add_compile_options(
58
+ "$<$<COMPILE_LANGUAGE:Swift>:SHELL:-Xcc -fno-omit-frame-pointer>"
59
+ "$<$<COMPILE_LANGUAGE:C,CXX>:-fno-omit-frame-pointer>")
60
+endif()
61
+
62
# Window specific settings
63
if(CMAKE_SYSTEM_NAME STREQUAL Windows)
64
add_compile_definitions(
0 commit comments