Skip to content

Commit

Permalink
fix resource path for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
julesgrc0 committed Mar 21, 2024
1 parent 0166c94 commit d417097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ elseif(UNIX AND NOT ANDROID)
endif()

add_custom_target(link_resource
COMMAND objcopy --prefix-symbol=w --localize-hidden --rename-section .data=.rdata,CONTENTS,ALLOC,LOAD,READONLY,DATA --input-target binary --binary-architecture i386 --output-target ${OBJCOPY_ARCH} ${RESOURCE_PACK_DIR}/resource.pack ${CMAKE_BINARY_DIR}/resource.o --verbose
COMMAND objcopy --prefix-symbol=w --localize-hidden --rename-section .data=.rdata,CONTENTS,ALLOC,LOAD,READONLY,DATA --input-target binary --binary-architecture i386 --output-target ${OBJCOPY_ARCH} ${RESOURCE_PACK_DIR}resource.pack ${CMAKE_BINARY_DIR}/resource.o --verbose
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
add_dependencies(${PROJECT_NAME} link_resource)
Expand Down

0 comments on commit d417097

Please sign in to comment.