CMakeLists.txt: Create the generated source directory

Problem was reported on IRC, in #teeworlds on Quakenet.
This commit is contained in:
heinrich5991 2017-03-11 13:25:52 +01:00
parent 9d475f1301
commit 253857e236

View file

@ -206,6 +206,7 @@ function(generate_source output_file script_parameter)
)
endfunction(generate_source)
file(MAKE_DIRECTORY "${PROJECT_SOURCE_DIR}/src/game/generated/")
chash("src/game/generated/nethash.cpp"
"src/engine/shared/protocol.h"
"src/game/generated/protocol.h"