Skip to content

Commit

Permalink
adding cmake_policy(SET CMP0057 NEW) to SetupBLT.cmake as it is requi…
Browse files Browse the repository at this point in the history
…red by blt_add_libraries
  • Loading branch information
rrsettgast committed Jun 5, 2018
1 parent ca93502 commit c52d2df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions SetupBLT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ if (NOT BLT_LOADED)
################################
include(${BLT_ROOT_DIR}/cmake/BLTOptions.cmake)

################################
# CMP0057 New is required by blt_add_libraries
################################
cmake_policy(SET CMP0057 NEW)


################################
# Invoke CMake Fortran setup
# if ENABLE_FORTRAN == ON
Expand Down

0 comments on commit c52d2df

Please sign in to comment.