mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:21:49 +08:00
9bf809b610
* ogre-next * add rename_config_cmake.patch * add fix_find_package_sdl2.patch * Update ports/ogre-next/portfile.cmake Co-Authored-By: Victor Romero <romerosanchezv@gmail.com> * Use vcpkg_check_features to simplify the portfile a little bit (thanks to @vicroms) * add features in CONTROL file * add "Building steps for ogre-next[d3d9]"
23 lines
992 B
Diff
23 lines
992 B
Diff
diff --git a/CMake/InstallResources.cmake b/CMake/InstallResources.cmake
|
|
index 79f7514..79bc033 100644
|
|
--- a/CMake/InstallResources.cmake
|
|
+++ b/CMake/InstallResources.cmake
|
|
@@ -215,7 +215,7 @@ if(NOT DEFINED OGRE_CMAKE_DIR)
|
|
set(OGRE_CMAKE_DIR "${OGRE_LIB_DIRECTORY}/OGRE/cmake")
|
|
endif()
|
|
endif()
|
|
-configure_package_config_file(${OGRE_TEMPLATES_DIR}/OGREConfig.cmake.in ${PROJECT_BINARY_DIR}/cmake/OGREConfig.cmake
|
|
+configure_package_config_file(${OGRE_TEMPLATES_DIR}/OGREConfig.cmake.in ${PROJECT_BINARY_DIR}/cmake/ogre-nextConfig.cmake
|
|
INSTALL_DESTINATION ${OGRE_CMAKE_DIR}
|
|
PATH_VARS CMAKE_INSTALL_PREFIX)
|
|
write_basic_package_version_file(
|
|
@@ -223,7 +223,7 @@ write_basic_package_version_file(
|
|
VERSION ${OGRE_VERSION}
|
|
COMPATIBILITY SameMajorVersion)
|
|
install(FILES
|
|
- ${PROJECT_BINARY_DIR}/cmake/OGREConfig.cmake
|
|
+ ${PROJECT_BINARY_DIR}/cmake/ogre-nextConfig.cmake
|
|
${PROJECT_BINARY_DIR}/cmake/OGREConfigVersion.cmake
|
|
DESTINATION ${OGRE_CMAKE_DIR}
|
|
)
|