forked from ShuriZma/suyu
1
0
Fork 0

fix: Re add CMAKE_CXX_COMPILER and CMAKE_C_COMPILER. Now pointing to

GCC12.
This commit is contained in:
Fijxu 2024-03-14 20:08:51 -03:00
parent aa20f384dc
commit 90ab1c3882
No known key found for this signature in database
GPG Key ID: 32C1DDF333EDA6A4
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ cmake .. \
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \ -DSUYU_USE_PRECOMPILED_HEADERS=OFF \
-DDYNARMIC_USE_PRECOMPILED_HEADERS=OFF \ -DDYNARMIC_USE_PRECOMPILED_HEADERS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_COMPILER=/usr/local/bin/g++ \
-DCMAKE_C_COMPILER=/usr/local/bin/gcc \
-DCMAKE_CXX_FLAGS="-march=x86-64-v2" \ -DCMAKE_CXX_FLAGS="-march=x86-64-v2" \
-DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_INSTALL_PREFIX="/usr" \
-DDISPLAY_VERSION=$1 \ -DDISPLAY_VERSION=$1 \