Skip to content

Commit 4af1e8b

Browse files
Update CMakeLists.txt
1 parent 1f8f488 commit 4af1e8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/src/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ 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 -nostdinc++ -I/home/parallels/Desktop/clang_7.0.1/include/c++/v1 -nodefaultlibs -lc++ -lc++abi -lm -lc -lgcc_s -lgcc)
11-
target_compile_options(${TARGET_NAME} PRIVATE -std=c++17 -lstdc++ -static-libstdc++)
11+
#target_compile_options(${TARGET_NAME} PRIVATE -std=c++17 -lstdc++ -static-libstdc++)
12+
target_link_libraries(${TARGET_NAME} -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
1415
endif()

0 commit comments

Comments
 (0)