Skip to content

Commit

Permalink
make cmake adhere to the modernized way of finding packages outside d…
Browse files Browse the repository at this point in the history
…efault dirs (#845)
  • Loading branch information
jtrmal authored Oct 13, 2021
1 parent b72589c commit 6ac9795
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
if(POLICY CMP0111)
cmake_policy(SET CMP0111 OLD)
endif()
if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()

set(languages CXX)
set(_K2_WITH_CUDA ON)
Expand Down

0 comments on commit 6ac9795

Please sign in to comment.