mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
update cmake lists
This commit is contained in:
parent
d73c0b21f5
commit
857bdd7f37
2 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ target_link_libraries(${PROJECT_NAME} VoxelEngineSrc ${CMAKE_DL_LIBS})
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${PROJECT_NAME}
|
TARGET ${PROJECT_NAME}
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
COMMAND ${CMAKE_COMMAND} -E copy_directory_if_different
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/res
|
${CMAKE_CURRENT_SOURCE_DIR}/res
|
||||||
$<TARGET_FILE_DIR:${PROJECT_NAME}>/res
|
$<TARGET_FILE_DIR:${PROJECT_NAME}>/res
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ target_link_libraries(
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${PROJECT_NAME}
|
TARGET ${PROJECT_NAME}
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
COMMAND ${CMAKE_COMMAND} -E copy_directory_if_different
|
||||||
${CMAKE_SOURCE_DIR}/res
|
${CMAKE_SOURCE_DIR}/res
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/res
|
${CMAKE_CURRENT_BINARY_DIR}/res
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue