mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
f7cd1c7961
commit
cbe7a0fccd
1 changed files with 2 additions and 2 deletions
|
|
@ -37,8 +37,8 @@ target_link_libraries(VoxelEngine PRIVATE VoxelEngineSrc
|
|||
target_link_options(VoxelEngine PRIVATE $<$<CXX_COMPILER_ID:GNU>:-no-pie>)
|
||||
|
||||
# Deploy res to build dir
|
||||
if(NOT EXISTS $<TARGET_FILE_DIR:VoxelEngine>/res)
|
||||
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION $<TARGET_FILE_DIR:VoxelEngine>/res)
|
||||
if (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/res)
|
||||
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
endif()
|
||||
|
||||
if(VOXELENGINE_BUILD_TESTS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue