TOOLS: attempt to create the include dir in the build directory

for some reason this fails in the pipeline but works locally
master
Martin Gerhardy 2021-11-10 17:58:47 +01:00
parent eb851116c9
commit 1ff065a0c7
2 changed files with 4 additions and 0 deletions

View File

@ -4,3 +4,4 @@ set(SRCS
)
engine_add_executable(TARGET ${PROJECT_NAME} SRCS ${SRCS})
set_property(TARGET ${PROJECT_NAME} PROPERTY FOLDER tools)

View File

@ -5,6 +5,9 @@ set(CMAKE_INTERPROCEDURAL_OPTIMIZATION FALSE)
set(GLSLANG_GENERATED_INCLUDEDIR "${CMAKE_BINARY_DIR}/include")
project(glslang)
FILE(MAKE_DIRECTORY ${GLSLANG_GENERATED_INCLUDEDIR}/${PROJECT_NAME})
if(WIN32)
include(ChooseMSVCCRT.cmake)
add_definitions(-DGLSLANG_OSINCLUDE_WIN32)