2 # This module finds if XIMEA Software package is installed
3 # and determines where the binaries and header files are.
4 # This code sets the following variables:
6 # XIMEA_FOUND - True if XIMEA API found
7 # XIMEA_PATH: - Path to the XIMEA API folder
8 # XIMEA_LIBRARY_DIRS - XIMEA libraries folder
10 # Created: 5 Aug 2011 by Marian Zajko (marian.zajko@ximea.com)
15 set(XIMEA_LIBRARY_DIR)
17 # Try to find the XIMEA API path in registry.
18 GET_FILENAME_COMPONENT(XIMEA_PATH "[HKEY_CURRENT_USER\\Software\\XIMEA\\CamSupport\\API;Path]" ABSOLUTE)
24 set(XIMEA_LIBRARY_DIR "${XIMEA_PATH}\\x86")
30 mark_as_advanced(FORCE XIMEA_FOUND)
31 mark_as_advanced(FORCE XIMEA_PATH)
32 mark_as_advanced(FORCE XIMEA_LIBRARY_DIR)