SWDEV-414482 - Remove cmake_minimum_required from hip-config.cmake

It currently sets an old cmake version that gives warnings with
recent versions of cmake and it is something that should not be
dictated by the config file but instead be set at the app level.

Change-Id: I3584159cafeb0bf3f6ae4929ac062dc11b3658a5


[ROCm/clr commit: 683c041a73]
Este commit está contenido en:
Ioannis Assiouras committed 2023-07-31 14:34:01 +01:00
1 padre 5b51ca53f4
commit 62573a3ec4
3 files changed
-5

No files matched your search

-2
Ver fichero
@@ -18,8 +18,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.3)
# Number of parallel jobs by default is 1
if(NOT DEFINED HIP_CLANG_NUM_PARALLEL_JOBS)
set(HIP_CLANG_NUM_PARALLEL_JOBS 1)
@@ -18,8 +18,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.3)
add_library(hip::device INTERFACE IMPORTED)
add_library(hip::host INTERFACE IMPORTED)
add_library(hip::amdhip64 INTERFACE IMPORTED)
-1
Ver fichero
@@ -17,7 +17,6 @@
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.3)
@PACKAGE_INIT@
include(CheckCXXCompilerFlag)