CMakeLists.txt 391 B

1234567891011121314151617
  1. add_sources(PowerComponent.h PowerComponent.cpp)
  2. if(APPLE)
  3. add_sources(PowerComponentMac.cpp PowerComponentMac.h)
  4. endif(APPLE)
  5. if(USE_X11POWER)
  6. add_sources(PowerComponentX11.cpp PowerComponentX11.h)
  7. endif(USE_X11POWER)
  8. if(OPENELEC)
  9. add_sources(PowerComponentOE.cpp PowerComponentOE.h)
  10. endif(OPENELEC)
  11. if(WIN32)
  12. add_sources(PowerComponentWin.cpp PowerComponentWin.h)
  13. endif(WIN32)