Skip to content

Commit

Permalink
Enable LTO in gskit
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Jan 8, 2025
1 parent 3f175d4 commit 2897eec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ set(INSTALL_PKGCONFIG_DIR "${GSKIT}/lib/pkgconfig" CACHE PATH "Installation dire
set(GSKIT_EXTERNAL_LIBS "")
set(GSKIT_EXTERNAL_INCLUDES "")

# Enable interprocedural optimization LTO
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)

set(CUR_GIT_TAG v0.0.0)
find_package(Git)
if(GIT_FOUND)
Expand Down

0 comments on commit 2897eec

Please sign in to comment.