Browse Source

CMake: properly init the MAGNUM_PLUGINS_DIR cache variable.

I messed up and my stale cache still showed the correct thing.
pull/187/head^2
Vladimír Vondruš 10 years ago
parent
commit
f719bad4f3
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -298,9 +298,9 @@ else()
set(MAGNUM_PLUGINS_RELEASE_DIR_INIT ${MAGNUM_PLUGINS_RELEASE_LIBRARY_INSTALL_DIR})
endif()
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(MAGNUM_PLUGINS_DIR_INIT ${MAGNUM_PLUGINS_DEBUG_DIR})
set(MAGNUM_PLUGINS_DIR_INIT ${MAGNUM_PLUGINS_DEBUG_DIR_INIT})
else()
set(MAGNUM_PLUGINS_DIR_INIT ${MAGNUM_PLUGINS_RELEASE_DIR})
set(MAGNUM_PLUGINS_DIR_INIT ${MAGNUM_PLUGINS_RELEASE_DIR_INIT})
endif()
# Make these paths configurable from outside

Loading…
Cancel
Save