freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] * CMakeLists.txt: Accommodate MingGW.


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * CMakeLists.txt: Accommodate MingGW.
Date: Sun, 14 Jan 2024 03:33:19 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 6d914726
    by Alexei Podtelezhnikov (Алексей Подтележников) at 2024-01-13T22:28:54-05:00
    * CMakeLists.txt: Accommodate MingGW.
    
    See https://github.com/StephanTLavavej/mingw-distro/issues/97.
    

1 changed file:

Changes:

  • CMakeLists.txt
    ... ... @@ -297,7 +297,7 @@ if (NOT FT_DISABLE_BROTLI)
    297 297
     endif ()
    
    298 298
     
    
    299 299
     # Create the configuration file
    
    300
    -if (UNIX)
    
    300
    +if (UNIX AND NOT WIN32)
    
    301 301
       check_include_file("unistd.h" HAVE_UNISTD_H)
    
    302 302
       check_include_file("fcntl.h" HAVE_FCNTL_H)
    
    303 303
     
    
    ... ... @@ -423,10 +423,10 @@ set(BASE_SRCS
    423 423
       src/winfonts/winfnt.c
    
    424 424
     )
    
    425 425
     
    
    426
    -if (UNIX)
    
    427
    -  list(APPEND BASE_SRCS "builds/unix/ftsystem.c")
    
    428
    -elseif (WIN32)
    
    426
    +if (WIN32)
    
    429 427
       list(APPEND BASE_SRCS "builds/windows/ftsystem.c")
    
    428
    +elseif (UNIX)
    
    429
    +  list(APPEND BASE_SRCS "builds/unix/ftsystem.c")
    
    430 430
     else ()
    
    431 431
       list(APPEND BASE_SRCS "src/base/ftsystem.c")
    
    432 432
     endif ()
    


  • reply via email to

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