From eaa3768b84a79a7807f0a3022616430128d62cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A8=D1=82=D0=B5=D0=BD=D0=B3=D0=B0=D1=83=D1=8D=D1=80=20?= =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=94=D0=BC=D0=B8=D1=82?= =?UTF-8?q?=D1=80=D0=B8=D0=B5=D0=B2=D0=B8=D1=87?= Date: Mon, 20 Nov 2023 15:08:39 +0300 Subject: [PATCH] Some fixes --- native/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 99ecd85..9886480 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -20,14 +20,12 @@ if (UNIX AND NOT APPLE) message(Compile x86) add_library(openglfx-x86 SHARED ${BaseFiles}) target_link_libraries(openglfx-x86 -lX11 -lGL) - target_link_libraries(openglfx-x86 -static-libgcc -static-libstdc++) set_target_properties(openglfx-x86 PROPERTIES PREFIX "") set_target_properties(openglfx-x86 PROPERTIES COMPILE_FLAGS "-m32" LINK_FLAGS "-m32") message(Compile x64) add_library(openglfx-x64 SHARED ${BaseFiles}) target_link_libraries(openglfx-x64 -lX11 -lGL) - target_link_libraries(openglfx-x64 -static-libgcc -static-libstdc++) set_target_properties(openglfx-x64 PROPERTIES PREFIX "") set_target_properties(openglfx-x64 PROPERTIES COMPILE_FLAGS "-m64" LINK_FLAGS "-m64") endif()