Skip to content

Install the pkg-config file when building under MSYS on windows? #1680

@agriggio

Description

@agriggio

Hi,
it would be good if the pkg-config script (OpenColorIO.pc) was installed when building under MSYS on windows. Here's a simple patch to do that:

--- b/src/OpenColorIO/CMakeLists.txt	2022-06-05 20:59:43.000000000 +0200
+++ a/src/OpenColorIO/CMakeLists.txt	2022-08-23 17:17:20.516786583 +0200
@@ -171,7 +171,7 @@
     SystemMonitor.cpp
 )
 
-if(NOT WIN32)
+if(NOT WIN32 OR MSYS)
 
     # Install the pkg-config file.
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions