vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO openscenegraph/osgQt REF Qt4 SHA512 426a4ba88f680978d24817248b99c68cafa4517144e6e3d2480612870c4a224bb955539cacb438274d4ee1c93c36d94f8437d142070b2ecde2b81517bf357e71 HEAD_REF master PATCHES OsgMacroUtils.patch ) if(VCPKG_TARGET_IS_OSX) string(APPEND VCPKG_CXX_FLAGS " -stdlib=libc++") string(APPEND VCPKG_C_FLAGS "") # both must be set endif() vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA ) vcpkg_install_cmake() #Debug file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) # Handle License file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)