Fixed cmake file issue.
This commit is contained in:
parent
34c5a0d140
commit
61ca7e7695
@ -7,7 +7,7 @@ FILE(GLOB Sources src/*.cpp)
|
||||
FILE(GLOB Resources res/*)
|
||||
add_executable(raycaster ${Sources} deps/glad/src/glad.c)
|
||||
configure_file(src/RaycasterConfig.h.in RaycasterConfig.h)
|
||||
add_custom_command(TARGET raycaster POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E rm -r ${CMAKE_BINARY_DIR}/res)
|
||||
add_custom_command(TARGET raycaster POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E rm -rf ${CMAKE_BINARY_DIR}/res)
|
||||
add_custom_command(TARGET raycaster POST_BUILD COMMAND ${CMAKE_COMMAND} ARGS -E copy_directory ${CMAKE_SOURCE_DIR}/res/ ${CMAKE_BINARY_DIR}/res)
|
||||
#FILE(COPY ${Resources} DESTINATION ${CMAKE_BINARY_DIR}/res)
|
||||
target_include_directories(raycaster PUBLIC
|
||||
|
Loading…
Reference in New Issue
Block a user