SWDEV-1 - Set CMAKE_POSITION_INDEPENDENT_CODE to ON
Change-Id: I95e4166e9fa96bde10a54a4842becce4ab554b22
[ROCm/clr commit: daf33f9d38]
This commit is contained in:
@@ -7,6 +7,8 @@ endif()
|
||||
|
||||
project(opencl)
|
||||
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
# Set default libdir to be "lib" for ROCm, distros will override this anyway:
|
||||
set(CMAKE_INSTALL_LIBDIR "lib" CACHE STRING "Library install directory")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user