Skip to content
Permalink
Browse files

CMake: Accept <Package>_ROOT from environment

  • Loading branch information...
glassez committed Aug 2, 2019
1 parent c0fc4e6 commit 7d636d8c3fbea9128ad84aeebddcbc757c94e1dc
Showing with 4 additions and 0 deletions.
  1. +4 −0 CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.9 FATAL_ERROR)

message(AUTHOR_WARNING "If the build fails, please try the autotools/qmake method.")

if(POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules)
include(FunctionReadVersion)

0 comments on commit 7d636d8

Please sign in to comment.
You can’t perform that action at this time.