patch-bitmaps_CMakeLists_txt 682 B

12345678910111213
  1. $OpenBSD: patch-bitmaps_CMakeLists_txt,v 1.1 2013/06/19 16:16:22 espie Exp $
  2. --- bitmaps/CMakeLists.txt.orig Wed Jun 19 16:57:36 2013
  3. +++ bitmaps/CMakeLists.txt Wed Jun 19 16:57:47 2013
  4. @@ -429,7 +429,7 @@ foreach(LOOP_VAR ${BITMAP_SRCS})
  5. set(CPP_BITMAP "${XPM_CPP_PATH}/${BASENAME}.cpp")
  6. add_custom_command(
  7. OUTPUT ${CPP_BITMAP}
  8. - COMMAND "$(CMAKE_COMMAND)" -E copy "${PATH}/${BASENAME}.xpm" "${CPP_BITMAP}"
  9. + COMMAND "${CMAKE_COMMAND}" -E copy "${PATH}/${BASENAME}.xpm" "${CPP_BITMAP}"
  10. DEPENDS ${BASENAME}.xpm)
  11. list(APPEND CPP_BITMAPS ${CPP_BITMAP})
  12. set_source_files_properties(${CPP_BITMAP} PROPERTIES COMPILE_FLAGS -DXPMMAIN)