CMakeLists.txt 703 B

1234567891011121314151617
  1. ########################################################################
  2. ## Feature registration
  3. ########################################################################
  4. cmake_dependent_option(ENABLE_LIBRARY_INCLUDE "Enable Pothos Library.Include component" ON "ENABLE_LIBRARY" OFF)
  5. add_feature_info(" Include" ENABLE_LIBRARY_INCLUDE "Public C++ headers for Pothos library")
  6. if (NOT ENABLE_LIBRARY_INCLUDE)
  7. return()
  8. endif()
  9. ########################################################################
  10. # install include files
  11. ########################################################################
  12. install(
  13. DIRECTORY Pothos
  14. DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
  15. COMPONENT pothos_devel
  16. )