diff options
author | kfg | 2015-06-10 19:15:01 +0200 |
---|---|---|
committer | kfg | 2015-06-10 19:15:01 +0200 |
commit | 4090dd2abc327fefa431de5bb3cd09a8348260d9 (patch) | |
tree | c4c2a2363ac290633b0efc26efd0b450bc8ce6b7 /cmakeinstall.patch | |
download | aur-4090dd2abc327fefa431de5bb3cd09a8348260d9.tar.gz |
Initial import
Diffstat (limited to 'cmakeinstall.patch')
-rw-r--r-- | cmakeinstall.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cmakeinstall.patch b/cmakeinstall.patch new file mode 100644 index 000000000000..892bae0c1b96 --- /dev/null +++ b/cmakeinstall.patch @@ -0,0 +1,31 @@ +diff -ru mygui-MyGUI3.2.2/CMake/Utils/MyGUIConfigTargets.cmake patched/CMake/Utils/MyGUIConfigTargets.cmake +--- mygui-MyGUI3.2.2/CMake/Utils/MyGUIConfigTargets.cmake 2015-01-26 16:32:35.000000000 +0100 ++++ patched/CMake/Utils/MyGUIConfigTargets.cmake 2015-02-06 17:11:23.008434639 +0100 +@@ -1,7 +1,17 @@ + # Configure settings and install targets + # FIXME: Copypasted from Ogre and need lots of changes + +-if (WIN32) ++if(MINGW) ++ set(MYGUI_RELEASE_PATH "/release") ++ set(MYGUI_RELWDBG_PATH "/relwithdebinfo") ++ set(MYGUI_MINSIZE_PATH "/minsizerel") ++ set(MYGUI_DEBUG_PATH "/debug") ++ set(MYGUI_LIB_RELEASE_PATH "/release") ++ set(MYGUI_LIB_RELWDBG_PATH "/relwithdebinfo") ++ set(MYGUI_LIB_MINSIZE_PATH "/minsizerel") ++ set(MYGUI_LIB_DEBUG_PATH "/debug") ++ set(MYGUI_PLUGIN_PATH "/opt") ++elseif (WIN32) + set(MYGUI_RELEASE_PATH "/Release") + set(MYGUI_RELWDBG_PATH "/RelWithDebInfo") + set(MYGUI_MINSIZE_PATH "/MinSizeRel") +@@ -194,7 +204,7 @@ + target_link_libraries(${PROJECTNAME} gdiplus) + endif() + target_link_libraries(${PROJECTNAME} +- MyGUIEngine ++ MyGUIEngine ${Boost_LIBRARIES} + ) + + if (MYGUI_GENERATE_LIST_FILES_FROM_VSPROJECT) |