CMakelists: Build thunk as static by default
This can be overwritten by changing BUILD_SHARED_LIBS=true, but we default it to static to allow for merging into ROCr Change-Id: Ic286ef7903a5bc788fe3b84bb13b15bdd3a6f60b
Dieser Commit ist enthalten in:
+2
-1
@@ -32,8 +32,9 @@ set ( HSAKMT_TARGET "${HSAKMT}" )
|
||||
|
||||
project ( ${HSAKMT_TARGET} VERSION 1.9.0)
|
||||
|
||||
# Build thunk as static by default
|
||||
if ( NOT DEFINED BUILD_SHARED_LIBS )
|
||||
set ( BUILD_SHARED_LIBS "on" )
|
||||
set ( BUILD_SHARED_LIBS "off" )
|
||||
endif()
|
||||
set ( BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS} CACHE BOOL "Build shared library (.so) or not.")
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren