Skip to content

Commit 11952eb

Browse files
authored
[FreeBSD] Cmake build should not set U_TIMEZONE for FreeBSD (#54)
* should not set U_TIMEZONE for FreeBSD * add comment
1 parent 86d5012 commit 11952eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "WASI")
8181
$<$<COMPILE_LANGUAGE:C,CXX>:_WASI_EMULATED_MMAN>)
8282
add_link_options("-Lwasi-emulated-signal")
8383
add_link_options("-Lwasi-emulated-mman")
84+
elseif(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
85+
# On FreeBSD, we should not set U_TIMEZONE
8486
else()
8587
add_compile_definitions(
8688
$<$<COMPILE_LANGUAGE:C,CXX>:U_TIMEZONE=timezone>)

0 commit comments

Comments
 (0)