Skip to content

Commit

Permalink
[ATLAS] Update CMakeLists.txt for Atlas Platform
Browse files Browse the repository at this point in the history
  • Loading branch information
doxutx committed Feb 29, 2024
1 parent 97e7c1b commit 6be1b0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ if(TNN_HUAWEI_NPU_ENABLE)
set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNNPU>")
endif()
if(TNN_ATLAS_ENABLE)
add_definitions(-DGET_NETWORK_ENABLE)
add_subdirectory(source/tnn/device/atlas)
set(TARGET_OBJECTS ${TARGET_OBJECTS} "$<TARGET_OBJECTS:TNNAtlas>")
include_directories(${CMAKE_SOURCE_DIR}/source/tnn/device/atlas)
Expand Down

0 comments on commit 6be1b0d

Please sign in to comment.