Skip to content

Commit

Permalink
Fix not finding libsophon in soc
Browse files Browse the repository at this point in the history
Change-Id: I1d2396d51aebebdb03c5236be7b2386f4517706e
  • Loading branch information
Jeffwhen committed Aug 26, 2022
1 parent 5808a8b commit 81c0b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Findsg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ if (DEFINED sg_PATH)
set(sg_lib_path ${sg_PATH}/lib)
endif()

if (NOT "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64")
if (CMAKE_TOOLCHAIN_FILE)
function(dummy_lib name)
add_library(${name} SHARED ${CMAKE_SOURCE_DIR}/cmake/dummy.cpp)
target_include_directories(${name} PUBLIC ${sg_include_path})
Expand Down

0 comments on commit 81c0b5d

Please sign in to comment.