We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b89781 commit 2e407aeCopy full SHA for 2e407ae
runtime/src/CMakeLists.txt
@@ -8,7 +8,7 @@ add_library(${TARGET_NAME} SHARED altv.cpp CSharpScriptRuntime.cpp CSharpResourc
8
9
if(UNIX AND NOT APPLE)
10
target_compile_options(${TARGET_NAME} PRIVATE -std=c++17 -static)
11
- target_compile_options(${TARGET_NAME} -lstdc++ -static-libstdc++)
+ target_link_libraries(${TARGET_NAME} -lstdc++ -static-libstdc++)
12
# target_link_libraries(${TARGET_NAME} -static-libgcc -static-libstdc++)
13
else()
14
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