Commit dc4e56ab authored by Philip Trettner's avatar Philip Trettner
Browse files

ld-gold only on linux

parent cebf8a70
......@@ -26,7 +26,9 @@ if (MSVC)
target_compile_options(polymesh PUBLIC /MP)
else()
target_compile_options(polymesh PRIVATE -Wall)
target_link_libraries(polymesh PUBLIC -fuse-ld=gold)
if (LINUX)
target_link_libraries(polymesh PUBLIC -fuse-ld=gold)
endif()
endif()
if (POLYMESH_ENABLE_ASSERTIONS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment