freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] CMakeLists.txt: Move inclusion of `Find


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] CMakeLists.txt: Move inclusion of `FindPkgConfig` down.
Date: Wed, 22 Jun 2022 10:16:14 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

  • 2db58e06
    by Werner Lemberg at 2022-06-22T12:16:00+02:00
    CMakeLists.txt: Move inclusion of `FindPkgConfig` down.
    
    It must come after `CMAKE_TOOLCHAIN_FILE`.
    
    Fixes #1167.
    

1 changed file:

Changes:

  • CMakeLists.txt
    ... ... @@ -121,7 +121,6 @@ endif ()
    121 121
     
    
    122 122
     include(CheckIncludeFile)
    
    123 123
     include(CMakeDependentOption)
    
    124
    -include(FindPkgConfig)
    
    125 124
     
    
    126 125
     # CMAKE_TOOLCHAIN_FILE must be set before `project' is called, which
    
    127 126
     # configures the base build environment and references the toolchain file
    
    ... ... @@ -245,6 +244,8 @@ endif ()
    245 244
     
    
    246 245
     
    
    247 246
     # Find dependencies
    
    247
    +include(FindPkgConfig)
    
    248
    +
    
    248 249
     if (NOT FT_DISABLE_HARFBUZZ)
    
    249 250
       set(HARFBUZZ_MIN_VERSION "2.0.0")
    
    250 251
       if (FT_REQUIRE_HARFBUZZ)
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]