Skip to content

Commit

Permalink
fix macos ninja build
Browse files Browse the repository at this point in the history
  • Loading branch information
toloudis committed Dec 14, 2023
1 parent 1087eb6 commit 1cf18fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion renderlib_wgpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ ExternalProject_Add(
LOG_BUILD OFF
LOG_DOWNLOAD OFF # redirect output to log-file (so that we have less clutter)
LOG_CONFIGURE OFF # redirect output to log-file (so that we have less clutter)
# this is where the cargo build output lands
BUILD_BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/wgpu_native-prefix/src/wgpu_native/target/release/${CMAKE_STATIC_LIBRARY_PREFIX}wgpu_native${CMAKE_STATIC_LIBRARY_SUFFIX} ${CMAKE_CURRENT_BINARY_DIR}/wgpu_native-prefix/src/wgpu_native/target/debug/${CMAKE_STATIC_LIBRARY_PREFIX}wgpu_native${CMAKE_STATIC_LIBRARY_SUFFIX}
)

# find_library(
Expand Down Expand Up @@ -79,7 +81,6 @@ target_include_directories(renderlib_wgpu PUBLIC ${SOURCE_DIR}/)
target_link_libraries(renderlib_wgpu
${CMAKE_DL_LIBS}
${OS_LIBRARIES}
${WGPU_LIBRARY}
spdlog::spdlog_header_only
)

Expand Down

0 comments on commit 1cf18fb

Please sign in to comment.