From 5e423fd3f16949b4ec36a176d546fd6f82d19551 Mon Sep 17 00:00:00 2001 From: Chong Kai Xiong Date: Thu, 16 Jan 2025 03:47:45 +0800 Subject: [PATCH] Core (Build): Get ORC compiler executable path from pkg-config. --- libvisual/cmake/FindORC.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvisual/cmake/FindORC.cmake b/libvisual/cmake/FindORC.cmake index 6344432d4..364c5559f 100644 --- a/libvisual/cmake/FindORC.cmake +++ b/libvisual/cmake/FindORC.cmake @@ -1,6 +1,6 @@ PKG_CHECK_MODULES(ORC orc-0.4>=0.4.6 IMPORTED_TARGET) -FIND_PROGRAM(ORC_COMPILER_EXECUTABLE orcc) +PKG_GET_VARIABLE(ORC_COMPILER_EXECUTABLE orc-0.4 orcc) MARK_AS_ADVANCED(ORC_COMPILER_EXECUTABLE) INCLUDE(FindPackageHandleStandardArgs)