Skip to content

Commit 7b89781

Browse files
Update CMakeLists.txt
1 parent b5eee95 commit 7b89781

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ add_library(${TARGET_NAME} SHARED altv.cpp CSharpScriptRuntime.cpp CSharpResourc
88

99
if(UNIX AND NOT APPLE)
1010
target_compile_options(${TARGET_NAME} PRIVATE -std=c++17 -static)
11+
target_compile_options(${TARGET_NAME} -lstdc++ -static-libstdc++)
1112
# target_link_libraries(${TARGET_NAME} -static-libgcc -static-libstdc++)
1213
else()
1314
target_compile_options(${TARGET_NAME} PRIVATE)# -I/home/parallels/Desktop/clang_7.0.1/include/c++/v1 -stdlib=libc++ -I$ENV{PROGRAMFILES}/LLVM/lib/clang/7.0.1/include -nodefaultlibs

0 commit comments

Comments
 (0)