Browse Source

Updated FindCorrade.cmake.

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
09bfc5927f
  1. 18
      modules/FindCorrade.cmake

18
modules/FindCorrade.cmake

@ -49,19 +49,11 @@ endif()
if(CORRADE_FOUND) if(CORRADE_FOUND)
include(CorradeMacros) include(CorradeMacros)
# Installation dirs include(CorradeLibSuffix)
if(WIN32) set_parent_scope(CORRADE_BINARY_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)
set_parent_scope(CORRADE_BINARY_INSTALL_DIR .) set_parent_scope(CORRADE_LIBRARY_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
set_parent_scope(CORRADE_LIBRARY_INSTALL_DIR .) set_parent_scope(CORRADE_CMAKE_MODULE_INSTALL_DIR ${CMAKE_ROOT}/Modules)
set_parent_scope(CORRADE_CMAKE_MODULE_INSTALL_DIR Modules) set_parent_scope(CORRADE_INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include/Corrade)
set_parent_scope(CORRADE_INCLUDE_INSTALL_DIR include/Corrade)
else()
include(CorradeLibSuffix)
set_parent_scope(CORRADE_BINARY_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)
set_parent_scope(CORRADE_LIBRARY_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
set_parent_scope(CORRADE_CMAKE_MODULE_INSTALL_DIR ${CMAKE_ROOT}/Modules)
set_parent_scope(CORRADE_INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include/Corrade)
endif()
set_parent_scope(CORRADE_LIBRARIES ${CORRADE_UTILITY_LIBRARY} ${CORRADE_PLUGINMANAGER_LIBRARY}) set_parent_scope(CORRADE_LIBRARIES ${CORRADE_UTILITY_LIBRARY} ${CORRADE_PLUGINMANAGER_LIBRARY})
endif() endif()

Loading…
Cancel
Save