Skip to content

Commit

Permalink
Fixed the build error on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
shin1m committed Nov 7, 2023
1 parent de925a4 commit e900574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ target_compile_definitions(xemmai PRIVATE
"$<$<PLATFORM_ID:Windows>:XEMMAI__PUBLIC=__declspec(dllexport)>"
PUBLIC "$<$<CXX_COMPILER_ID:MSVC>:_ITERATOR_DEBUG_LEVEL=0>"
)
target_link_libraries(xemmai PRIVATE $<$<NOT:$<PLATFORM_ID:Windows>>:dl> Iconv::Iconv Threads::Threads)
target_link_libraries(xemmai PUBLIC $<$<NOT:$<PLATFORM_ID:Windows>>:dl> Iconv::Iconv Threads::Threads)
target_link_options(xemmai PRIVATE
$<$<AND:$<CXX_COMPILER_ID:MSVC>,$<CONFIG:Debug>>:/STACK:0x01000000>
$<$<AND:$<CXX_COMPILER_ID:MSVC>,$<CONFIG:Release>>:/STACK:0x800000>
Expand Down

0 comments on commit e900574

Please sign in to comment.