SWDEV-1 - Set CMAKE_POSITION_INDEPENDENT_CODE to ON

Change-Id: I95e4166e9fa96bde10a54a4842becce4ab554b22


[ROCm/clr commit: daf33f9d38]
This commit is contained in:
Jason Tang committed 2022-04-23 16:13:49 -04:00
1 förälder 757ad58402
incheckning 9e85fabc48
1 file changed
+2
+2
Visa fil
@@ -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")