diff --git a/CMakeLists.txt b/CMakeLists.txt index 74b723e0..053a1bd7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,18 +136,18 @@ if (GITHUB_ACTION_BUILD) message("${GITHUB_ACTION_BUILD}") endif() -find_program(WINDRES windres) -if (WINDRES) - add_custom_command( - OUTPUT ${CMAKE_BINARY_DIR}/version.o - COMMAND ${WINDRES} -i ${CMAKE_SOURCE_DIR}/scripts/version.rc -o ${CMAKE_BINARY_DIR}/version.o - DEPENDS ${CMAKE_SOURCE_DIR}/scripts/version.rc - ) - - add_custom_target(resource DEPENDS ${CMAKE_BINARY_DIR}/version.o) - add_dependencies(Millennium resource) - target_link_libraries(Millennium ${CMAKE_BINARY_DIR}/version.o) -endif() +# find_program(WINDRES windres) +# if (WINDRES) +# add_custom_command( +# OUTPUT ${CMAKE_BINARY_DIR}/version.o +# COMMAND ${WINDRES} -i ${CMAKE_SOURCE_DIR}/scripts/version.rc -o ${CMAKE_BINARY_DIR}/version.o +# DEPENDS ${CMAKE_SOURCE_DIR}/scripts/version.rc +# ) + +# add_custom_target(resource DEPENDS ${CMAKE_BINARY_DIR}/version.o) +# add_dependencies(Millennium resource) +# target_link_libraries(Millennium ${CMAKE_BINARY_DIR}/version.o) +# endif() target_link_libraries(Millennium Boxer