Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake --preset=default
- -- Running vcpkg install
- Detecting compiler hash for triplet arm64-osx...
- Compiler found: /usr/bin/c++
- All requested packages are currently installed.
- Total install time: 114 us
- glfw3 provides CMake targets:
- # this is heuristically generated, and may not be correct
- find_package(glfw3 CONFIG REQUIRED)
- target_link_libraries(main PRIVATE glfw)
- glfw3 provides pkg-config modules:
- # A multi-platform library for OpenGL, window and input
- glfw3
- The package glm provides CMake targets:
- find_package(glm CONFIG REQUIRED)
- target_link_libraries(main PRIVATE glm::glm)
- # Or use the header-only version
- find_package(glm CONFIG REQUIRED)
- target_link_libraries(main PRIVATE glm::glm-header-only)
- The package vulkan-validationlayers provides the vulkan validationlayers.
- To make vulkan use them you have to manually add the vcpkg path "<vcpkg_installed>/share/vulkan/explicit_layer.d" to the environment variable VK_ADD_LAYER_PATH.
- vulkan-sdk-components is compatible with built-in CMake targets:
- # https://cmake.org/cmake/help/latest/module/FindVulkan.html
- find_package(Vulkan REQUIRED)
- # SPIR-V generator library
- target_link_libraries(main PRIVATE Vulkan::glslang)
- # DirectX Shader Compiler
- target_link_libraries(main PRIVATE Vulkan::dxc)
- The vulkan-sdk-components package does not provide direct Visual Studio
- integration. For manual integration, add $(VULKAN_SDK)/include to your
- include path.
- -- Running vcpkg install - done
- CMake Error at /Users/ta/vcpkg/scripts/buildsystems/vcpkg.cmake:893 (_find_package):
- Could not find a package configuration file provided by "Vulkan" with any
- of the following names:
- VulkanConfig.cmake
- vulkan-config.cmake
- Add the installation prefix of "Vulkan" to CMAKE_PREFIX_PATH or set
- "Vulkan_DIR" to a directory containing one of the above files. If "Vulkan"
- provides a separate development package or SDK, be sure it has been
- installed.
- Call Stack (most recent call first):
- src/CMakeLists.txt:2 (find_package)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement