gplugin/gplugin

Deal the cmake 3.x warnings. Fixes #61
feature/remove-gjs-loader
2015-02-28, Gary Kramlich
76147bfc677c
Parents a9df8fdb5ca5
Children e8d5b600b4f5
Deal the cmake 3.x warnings. Fixes #61
--- a/CMakeLists.txt Sat Feb 28 20:19:30 2015 -0600
+++ b/CMakeLists.txt Sat Feb 28 20:38:51 2015 -0600
@@ -11,6 +11,12 @@
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Compatibility)
endif(${CMAKE_VERSION} VERSION_LESS "2.8.3")
+# allow reading of the LOCATION property
+cmake_policy(SET CMP0026 OLD)
+
+# don't force target names to match a pattern
+cmake_policy(SET CMP0037 OLD)
+
###############################################################################
# Project Info
###############################################################################