Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Штенгауэр Никита Дмитриевич committed Nov 20, 2023
1 parent c9bd65c commit eaa3768
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eaa3768

Please sign in to comment.