File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,8 @@ add_library(${TARGET_NAME} SHARED altv.cpp CSharpScriptRuntime.cpp CSharpResourc
77 altv-c-api/baseobject.cpp altv-c-api/mvalue.cpp altv-c-api/function.cpp altv-c-api/position.h altv-c-api/rotation.h altv-c-api/rgba.h altv-c-api/resource .h altv-c-api/resource .cpp altv-c-api/voice_channel.cpp)# clrHost.cpp
88
99if (UNIX AND NOT APPLE )
10- #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 -static -Wall -Wpedantic -fsanitize=address -g )
12- #target_compile_options(${TARGET_NAME} PRIVATE -std=c++17 -static-libstdc++ -static-libgcc -lstdc++)
13- #target_link_libraries(${TARGET_NAME} -static-libstdc++)
14- #target_link_libraries(${TARGET_NAME} -static-libstdc++)
15- set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address" )
16- set (CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address" )
10+ target_compile_options (${TARGET_NAME} PRIVATE -std=c++17)
11+ target_link_libraries (${TARGET_NAME} -static -libgcc -static -libstdc++)
1712else ()
1813 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
1914endif ()
You can’t perform that action at this time.
0 commit comments