mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 16:08:06 +08:00
42 lines
1.5 KiB
Diff
42 lines
1.5 KiB
Diff
|
diff --git a/CMake/Utils/OgreConfigTargets.cmake b/CMake/Utils/OgreConfigTargets.cmake
|
||
|
index c6b3b40..2da7ebf 100644
|
||
|
--- a/CMake/Utils/OgreConfigTargets.cmake
|
||
|
+++ b/CMake/Utils/OgreConfigTargets.cmake
|
||
|
@@ -41,15 +41,28 @@ if (NOT OGRE_RUNTIME_OUTPUT)
|
||
|
set(OGRE_RUNTIME_OUTPUT ${OGRE_BINARY_DIR}/bin)
|
||
|
endif ()
|
||
|
|
||
|
+option(OGRE_NO_INSTALLATION_SUFFIXES_ON_WIN32 "Do not install in configuration-specific directories in Windows" FALSE)
|
||
|
+
|
||
|
if (WIN32)
|
||
|
- set(OGRE_RELEASE_PATH "/Release")
|
||
|
- set(OGRE_RELWDBG_PATH "/RelWithDebInfo")
|
||
|
- set(OGRE_MINSIZE_PATH "/MinSizeRel")
|
||
|
- set(OGRE_DEBUG_PATH "/Debug")
|
||
|
- set(OGRE_LIB_RELEASE_PATH "/Release")
|
||
|
- set(OGRE_LIB_RELWDBG_PATH "/RelWithDebInfo")
|
||
|
- set(OGRE_LIB_MINSIZE_PATH "/MinSizeRel")
|
||
|
- set(OGRE_LIB_DEBUG_PATH "/Debug")
|
||
|
+ if (OGRE_NO_INSTALLATION_SUFFIXES_ON_WIN32)
|
||
|
+ set(OGRE_RELEASE_PATH "")
|
||
|
+ set(OGRE_RELWDBG_PATH "")
|
||
|
+ set(OGRE_MINSIZE_PATH "")
|
||
|
+ set(OGRE_DEBUG_PATH "")
|
||
|
+ set(OGRE_LIB_RELEASE_PATH "")
|
||
|
+ set(OGRE_LIB_RELWDBG_PATH "")
|
||
|
+ set(OGRE_LIB_MINSIZE_PATH "")
|
||
|
+ set(OGRE_LIB_DEBUG_PATH "/")
|
||
|
+ else ()
|
||
|
+ set(OGRE_RELEASE_PATH "/Release")
|
||
|
+ set(OGRE_RELWDBG_PATH "/RelWithDebInfo")
|
||
|
+ set(OGRE_MINSIZE_PATH "/MinSizeRel")
|
||
|
+ set(OGRE_DEBUG_PATH "/Debug")
|
||
|
+ set(OGRE_LIB_RELEASE_PATH "/Release")
|
||
|
+ set(OGRE_LIB_RELWDBG_PATH "/RelWithDebInfo")
|
||
|
+ set(OGRE_LIB_MINSIZE_PATH "/MinSizeRel")
|
||
|
+ set(OGRE_LIB_DEBUG_PATH "/Debug")
|
||
|
+ endif ()
|
||
|
set(OGRE_PLUGIN_PATH "/opt")
|
||
|
set(OGRE_SAMPLE_PATH "/opt/samples")
|
||
|
elseif (UNIX)
|