Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianTerhorst authored Jun 12, 2019
1 parent 3187c6c commit b5eee95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ add_library(${TARGET_NAME} SHARED altv.cpp CSharpScriptRuntime.cpp CSharpResourc
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

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

0 comments on commit b5eee95

Please sign in to comment.