Skip to content

Commit

Permalink
#399 add big object compiler flag for g++
Browse files Browse the repository at this point in the history
  • Loading branch information
vrcomputing committed Feb 28, 2024
1 parent 7f8bc6c commit 37c68bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qmlexport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,8 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
DESTINATION
${QSK_INSTALL_LIBS} OPTIONAL)
endif()

if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
#target_compile_options(${target} PRIVATE "-Wa,-mbig-obj")
set_source_files_properties(QskQml.cpp PROPERTIES COMPILE_FLAGS "-Wa,-mbig-obj")
endif()

0 comments on commit 37c68bd

Please sign in to comment.