AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
120 stars 8 forks source link

Update CMakeLists.txt #329

Closed ghost closed 5 months ago

ghost commented 5 months ago

Fix link LLVM statically on MSYS2. By default, it will link LLVM dynamically. But we can force it to link LLVM statically with:

cmake -DCMAKE_BUILD_TYPE=Release -DADEPT_LINK_LLVM_STATIC=ON

I normally link LLVM dynamically. Today I tested linking LLVM statically and found the problem.

IsaacShelton commented 5 months ago

Somehow it was missing winsock2 looks like

Nice catch :+1: