mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Ignore old generated files if still present
Our build system used to put generated files into `src/game/generated`, now it's using `${PROJECT_BUILD_DIR}/src/game/generated`. Prefer the ones in `${PROJECT_BUILD_DIR}/src/game/generated`.
This commit is contained in:
parent
ac7e92df5e
commit
1578e272a3
|
@ -1489,8 +1489,8 @@ foreach(target ${TARGETS_OWN})
|
|||
if(OUR_FLAGS_OWN)
|
||||
target_compile_options(${target} PRIVATE ${OUR_FLAGS_OWN})
|
||||
endif()
|
||||
target_include_directories(${target} PRIVATE src)
|
||||
target_include_directories(${target} PRIVATE ${PROJECT_BINARY_DIR}/src)
|
||||
target_include_directories(${target} PRIVATE src)
|
||||
target_compile_definitions(${target} PRIVATE $<$<CONFIG:Debug>:CONF_DEBUG>)
|
||||
target_include_directories(${target} PRIVATE ${ZLIB_INCLUDE_DIRS})
|
||||
target_compile_definitions(${target} PRIVATE GLEW_STATIC)
|
||||
|
|
Loading…
Reference in a new issue