Commit be65d7bf authored by Paul's avatar Paul
Browse files

Build as a shared library by default

parent 3a1980fc
......@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.5)
project(rtglib)
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_VERSION VERSION_LESS "5.4")
message(FATAL_ERROR "RTGLib requires at least gcc 5.4")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment