update cmake lists
This commit is contained in:
+1
-1
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user