rs_driverConfig.cmake.in 931 B

1234567891011121314151617181920212223242526272829
  1. # - Config file for the @PROJECT_NAME_LOWER@ package
  2. # It defines the following variables
  3. # rs_driver_INCLUDE_DIRS - include directories for @PROJECT_NAME_LOWER@
  4. # rs_driver_LIBRARIES - libraries to link against
  5. # rs_driver_FOUND - found flag
  6. if(WIN32)
  7. if(CMAKE_SIZEOF_VOID_P EQUAL 8) # 64-bit
  8. set(Boost_ARCHITECTURE "-x64")
  9. elseif(CMAKE_SIZEOF_VOID_P EQUAL 4) # 32-bit
  10. set(Boost_ARCHITECTURE "-x32")
  11. endif()
  12. set(Boost_USE_STATIC_LIBS ON)
  13. set(Boost_USE_MULTITHREADED ON)
  14. set(Boost_USE_STATIC_RUNTIME OFF)
  15. endif(WIN32)
  16. if(${ENABLE_TRANSFORM})
  17. add_definitions("-DENABLE_TRANSFORM")
  18. endif(${ENABLE_TRANSFORM})
  19. set(rs_driver_INCLUDE_DIRS "@DRIVER_INCLUDE_DIRS@;@INSTALL_DRIVER_DIR@")
  20. set(RS_DRIVER_INCLUDE_DIRS "@DRIVER_INCLUDE_DIRS@;@INSTALL_DRIVER_DIR@")
  21. set(rs_driver_LIBRARIES "@EXTERNAL_LIBS@")
  22. set(RS_DRIVER_LIBRARIES "@EXTERNAL_LIBS@")
  23. set(rs_driver_FOUND true)
  24. set(RS_DRIVER_FOUND true)