Skip to content

Commit a5c34cf

Browse files
committed
Try workaround for broken tinyobjloader vcpkg dependency cmake files.
1 parent 96fd612 commit a5c34cf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ find_package(glfw3 REQUIRED)
5252
find_package(glm CONFIG REQUIRED)
5353
find_package(imgui CONFIG REQUIRED)
5454
find_package(Stb REQUIRED)
55-
find_package(tinyobjloader CONFIG REQUIRED)
55+
#find_package(tinyobjloader CONFIG REQUIRED)
5656
find_package(Vulkan REQUIRED)
5757

5858
#add_definitions(-DIMGUI_DISABLE_OBSOLETE_FUNCTIONS)

src/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,5 @@ add_dependencies(${exe_name} Assets)
157157
set_target_properties(${exe_name} PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
158158
target_include_directories(${exe_name} PRIVATE . ${STB_INCLUDE_DIRS} ${Vulkan_INCLUDE_DIRS})
159159
target_link_directories(${exe_name} PRIVATE ${Vulkan_LIBRARY})
160-
target_link_libraries(${exe_name} PRIVATE Boost::boost Boost::exception Boost::program_options glfw glm::glm imgui::imgui tinyobjloader::tinyobjloader ${Vulkan_LIBRARIES} ${extra_libs})
160+
#target_link_libraries(${exe_name} PRIVATE Boost::boost Boost::exception Boost::program_options glfw glm::glm imgui::imgui tinyobjloader::tinyobjloader ${Vulkan_LIBRARIES} ${extra_libs})
161+
target_link_libraries(${exe_name} PRIVATE Boost::boost Boost::exception Boost::program_options glfw glm::glm imgui::imgui ${Vulkan_LIBRARIES} ${extra_libs})

0 commit comments

Comments
 (0)