Browse Source

Proper default plugin dir for debug on multi-configuration buildsystems.

Similar logic to what we expose to the outside world.
pull/55/merge
Vladimír Vondruš 12 years ago
parent
commit
7e4143f86b
  1. 4
      src/Magnum/Text/fontconverterConfigure.h.cmake
  2. 4
      src/Magnum/TextureTools/distancefieldconverterConfigure.h.cmake

4
src/Magnum/Text/fontconverterConfigure.h.cmake

@ -23,4 +23,8 @@
DEALINGS IN THE SOFTWARE.
*/
#ifdef CORRADE_IS_DEBUG_BUILD
#define MAGNUM_PLUGINS_DIR "${MAGNUM_PLUGINS_DEBUG_INSTALL_DIR}"
#else
#define MAGNUM_PLUGINS_DIR "${MAGNUM_PLUGINS_INSTALL_DIR}"
#endif

4
src/Magnum/TextureTools/distancefieldconverterConfigure.h.cmake

@ -23,4 +23,8 @@
DEALINGS IN THE SOFTWARE.
*/
#ifdef CORRADE_IS_DEBUG_BUILD
#define MAGNUM_PLUGINS_DIR "${MAGNUM_PLUGINS_DEBUG_INSTALL_DIR}"
#else
#define MAGNUM_PLUGINS_DIR "${MAGNUM_PLUGINS_INSTALL_DIR}"
#endif

Loading…
Cancel
Save