PageRenderTime 32ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/cmake/FindMT.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 15 lines | 12 code | 2 blank | 1 comment | 0 complexity | defc7700291203bd97c68092cbfc66d6 MD5 | raw file
Possible License(s): LGPL-2.1
  1. #Find the windows manifest tool.
  2. FIND_PROGRAM(HAVE_MANIFEST_TOOL NAMES mt
  3. PATHS
  4. "$ENV{PROGRAMFILES}/Microsoft Visual Studio 8/VC/bin"
  5. "$ENV{PROGRAMFILES}/Microsoft Visual Studio 8/Common7/Tools/Bin"
  6. "$ENV{PROGRAMFILES}/Microsoft Visual Studio 8/SDK/v2.0/Bin")
  7. IF(HAVE_MANIFEST_TOOL)
  8. MESSAGE(STATUS "Found Mainfest Tool. Embedding custom manifests.")
  9. ELSE(HAVE_MANIFEST_TOOL)
  10. MESSAGE(FATAL_ERROR "Manifest tool, mt.exe, can't be found.")
  11. ENDIF(HAVE_MANIFEST_TOOL)
  12. STRING(REPLACE "/MANIFEST" "/MANIFEST:NO" CMAKE_EXE_LINKER_FLAGS
  13. ${CMAKE_EXE_LINKER_FLAGS})