Skip to content

Commit 2d25439

Browse files
umar456pradeep
authored andcommitted
Fix CMake warning about the CMP0073 policy
1 parent 4159b1a commit 2d25439

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ project(ArrayFire
1010
VERSION 3.7.0
1111
LANGUAGES C CXX )
1212

13+
if(POLICY CMP0073)
14+
cmake_policy(SET CMP0073 NEW)
15+
endif()
16+
1317
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
1418
include(AFInstallDirs)
1519
include(CMakeDependentOption)

0 commit comments

Comments
 (0)