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
gaoqiong
MIGraphX
Commits
be65d7bf
Commit
be65d7bf
authored
Jun 26, 2018
by
Paul
Browse files
Build as a shared library by default
parent
3a1980fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
CMakeLists.txt
CMakeLists.txt
+2
-0
No files found.
CMakeLists.txt
View file @
be65d7bf
...
@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.5)
...
@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.5)
project
(
rtglib
)
project
(
rtglib
)
find_package
(
ROCM REQUIRED
)
find_package
(
ROCM REQUIRED
)
option
(
BUILD_SHARED_LIBS
"Build as a shared library"
ON
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
if
(
CMAKE_CXX_COMPILER_ID STREQUAL
"GNU"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"5.4"
)
if
(
CMAKE_CXX_COMPILER_VERSION VERSION_LESS
"5.4"
)
message
(
FATAL_ERROR
"RTGLib requires at least gcc 5.4"
)
message
(
FATAL_ERROR
"RTGLib requires at least gcc 5.4"
)
...
...
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