Skip to content

Commit e7562f1

Browse files
committed
Fix Makefile issue.
1 parent 38f5d59 commit e7562f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ else()
1515
set(APP "appbuilder")
1616
endif()
1717

18-
target_compile_features(${APP} PRIVATE cxx_std_20)
19-
2018
set(APP_SOURCES "QnnSampleApp.cpp"
2119
"main.cpp"
2220
"Log/Logger.cpp"
@@ -45,6 +43,7 @@ set(APP_SOURCES_ARCH "PAL/src/linux/Directory.cpp"
4543
endif()
4644

4745
ADD_LIBRARY(${APP} SHARED ${APP_SOURCES} ${APP_SOURCES_ARCH})
46+
target_compile_features(${APP} PRIVATE cxx_std_20)
4847

4948
if (MSVC)
5049
target_compile_options(${APP} PRIVATE /O2 /GL /fp:fast)

0 commit comments

Comments
 (0)