Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
29deb085
Commit
29deb085
authored
Oct 16, 2023
by
flyingdown
Browse files
Update CMakeLists.txt
parent
5305edef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
CMakeLists.txt
CMakeLists.txt
+2
-1
No files found.
CMakeLists.txt
View file @
29deb085
...
@@ -18,7 +18,8 @@ endif()
...
@@ -18,7 +18,8 @@ endif()
project
(
torchaudio
)
project
(
torchaudio
)
set
(
CMAKE_C_COMPILER
"hipcc"
)
set
(
CMAKE_CXX_COMPILER
"hipcc"
)
# check and set CMAKE_CXX_STANDARD
# check and set CMAKE_CXX_STANDARD
string
(
FIND
"
${
CMAKE_CXX_FLAGS
}
"
"-std=c++"
env_cxx_standard
)
string
(
FIND
"
${
CMAKE_CXX_FLAGS
}
"
"-std=c++"
env_cxx_standard
)
if
(
env_cxx_standard GREATER -1
)
if
(
env_cxx_standard GREATER -1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment