More windows build fixes

This commit is contained in:
Dawid Pietrykowski 2023-06-05 19:43:33 +02:00
parent b7a01a4e54
commit d11a26cd27
2 changed files with 3 additions and 12 deletions

View File

@ -109,16 +109,7 @@ endif()
# Find stb_image # Find stb_image
find_path(stb_image_INCLUDE_DIR include/stb_image.h find_package(Stb REQUIRED)
HINTS
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/include/stb
${CMAKE_CURRENT_SOURCE_DIR}/lib
${CMAKE_CURRENT_SOURCE_DIR}
"/usr/include/stb"
${stb_image_ROOT})
#find_package(glfw3 REQUIRED)
if(stb_image_INCLUDE_DIR) if(stb_image_INCLUDE_DIR)
message(STATUS "stb_image_INCLUDE_DIR: ${stb_image_INCLUDE_DIR}") message(STATUS "stb_image_INCLUDE_DIR: ${stb_image_INCLUDE_DIR}")
@ -194,4 +185,4 @@ endif()
# Copy shaders, assets and configs for binaries to access # Copy shaders, assets and configs for binaries to access
file(COPY shaders DESTINATION ${CMAKE_BINARY_DIR}/Release) file(COPY shaders DESTINATION ${CMAKE_BINARY_DIR}/Release)
file(COPY assets DESTINATION ${CMAKE_BINARY_DIR}/Release) file(COPY assets DESTINATION ${CMAKE_BINARY_DIR}/Release)
file(COPY configs DESTINATION ${CMAKE_BINARY_DIR}/Release) file(COPY configs DESTINATION ${CMAKE_BINARY_DIR}/Release)

@ -1 +1 @@
Subproject commit b7a9ac3e937b8946ec581cdf980dbb29f9056b76 Subproject commit 90268c3e43298e441cf92a70f36ecdfa60f4dc23