Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianTerhorst committed Jun 12, 2019
1 parent b5eee95 commit 7b89781
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ add_library(${TARGET_NAME} SHARED altv.cpp CSharpScriptRuntime.cpp CSharpResourc

if(UNIX AND NOT APPLE)
target_compile_options(${TARGET_NAME} PRIVATE -std=c++17 -static)
target_compile_options(${TARGET_NAME} -lstdc++ -static-libstdc++)
# target_link_libraries(${TARGET_NAME} -static-libgcc -static-libstdc++)
else()
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
Expand Down

0 comments on commit 7b89781

Please sign in to comment.