Copy shaders during build
This commit is contained in:
parent
56fce78098
commit
326212dc5d
|
@ -60,6 +60,7 @@ target_compile_definitions(client_imgui PUBLIC -DIMGUI_IMPL_OPENGL_LOADER_GLAD)
|
||||||
target_include_directories(client_imgui PUBLIC ${GLFW_INCLUDE_DIRS} ${GLUT_INCLUDE_DIR} ${OPENGL_INCLUDE_DIRS} ${GLAD_INCLUDE_DIRS} ${imgui_dir} ${igo_dir})
|
target_include_directories(client_imgui PUBLIC ${GLFW_INCLUDE_DIRS} ${GLUT_INCLUDE_DIR} ${OPENGL_INCLUDE_DIRS} ${GLAD_INCLUDE_DIRS} ${imgui_dir} ${igo_dir})
|
||||||
target_link_libraries(client_imgui ${GLFW_LIBRARIES} ${GLUT_LIBRARY}
|
target_link_libraries(client_imgui ${GLFW_LIBRARIES} ${GLUT_LIBRARY}
|
||||||
${OPENGL_LIBRARIES} ${GLAD_LIBRARIES} ${CMAKE_DL_LIBS} imgui imgui-glfw-gl3)
|
${OPENGL_LIBRARIES} ${GLAD_LIBRARIES} ${CMAKE_DL_LIBS} imgui imgui-glfw-gl3)
|
||||||
|
file(COPY src/shaders DESTINATION .)
|
||||||
|
|
||||||
# Server
|
# Server
|
||||||
#target_include_directories(server "${PROJECT_SOURCE_DIR}/src/server")
|
#target_include_directories(server "${PROJECT_SOURCE_DIR}/src/server")
|
||||||
|
|
Loading…
Reference in New Issue