@@ -22,14 +22,15 @@ class VulkanProfiles < Formula
2222
2323 depends_on "cmake" => :build
2424 depends_on "pkgconf" => :build
25- depends_on "[email protected] " => :build 2625 depends_on "vulkan-tools" => :test
2726 depends_on "jsoncpp"
2827 depends_on "valijson"
2928 depends_on "vulkan-headers"
3029 depends_on "vulkan-loader"
3130 depends_on "vulkan-utility-libraries"
3231
32+ uses_from_macos "python" => :build
33+
3334 on_macos do
3435 depends_on "molten-vk" => :test
3536 end
@@ -47,12 +48,12 @@ def install
4748 inreplace "profiles/test/CMakeLists.txt" , "jsoncpp_static" , "jsoncpp"
4849
4950 system "cmake" , "-S" , "." , "-B" , "build" ,
50- "-DVULKAN_HEADERS_INSTALL_DIR=#{ Formula [ "vulkan-headers" ] . prefix } " ,
51+ "-DCMAKE_INSTALL_RPATH=#{ rpath ( target : Formula [ "vulkan-loader" ] . opt_lib ) } " ,
52+ "-DPython3_EXECUTABLE=#{ which ( "python3" ) } " ,
53+ "-DVALIJSON_INSTALL_DIR=#{ Formula [ "valijson" ] . prefix } " ,
5154 "-DVULKAN_HEADERS_INSTALL_DIR=#{ Formula [ "vulkan-headers" ] . prefix } " ,
5255 "-DVULKAN_LOADER_INSTALL_DIR=#{ Formula [ "vulkan-loader" ] . prefix } " ,
5356 "-DVULKAN_UTILITY_LIBRARIES_INSTALL_DIR=#{ Formula [ "vulkan-utility-libraries" ] . prefix } " ,
54- "-DVALIJSON_INSTALL_DIR=#{ Formula [ "valijson" ] . prefix } " ,
55- "-DCMAKE_INSTALL_RPATH=#{ rpath ( target : Formula [ "vulkan-loader" ] . opt_lib ) } " ,
5657 *std_cmake_args
5758 system "cmake" , "--build" , "build"
5859 system "cmake" , "--install" , "build"
0 commit comments