mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 07:19:08 +08:00
20 lines
636 B
Diff
20 lines
636 B
Diff
diff --git a/CMake/CMakeLists.txt b/CMake/CMakeLists.txt
|
|
index 4c496b7..feb4017 100644
|
|
--- a/CMake/CMakeLists.txt
|
|
+++ b/CMake/CMakeLists.txt
|
|
@@ -14,10 +14,12 @@
|
|
#############################################################
|
|
|
|
if(WIN32 OR APPLE)
|
|
- set(OGRE_CMAKE_DIR "CMake")
|
|
+ set(OGRE_DEFAULT_CMAKE_DIR "CMake")
|
|
else()
|
|
- set(OGRE_CMAKE_DIR "${OGRE_LIB_DIRECTORY}/OGRE/cmake")
|
|
+ set(OGRE_DEFAULT_CMAKE_DIR "${OGRE_LIB_DIRECTORY}/OGRE/cmake")
|
|
endif()
|
|
+set(OGRE_CMAKE_DIR ${OGRE_DEFAULT_CMAKE_DIR} CACHE STRING "Install directory for CMake files.")
|
|
+mark_as_advanced(OGRE_DEFAULT_CMAKE_DIR)
|
|
|
|
set(INST_FILES
|
|
Packages/FindOIS.cmake
|