aboutsummaryrefslogtreecommitdiff
path: root/contrib/otshell_utils
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-08 16:32:30 -0800
committerRiccardo Spagni <ric@spagni.net>2017-01-08 16:32:30 -0800
commit223055a86185444d2bcfe4b38bb4a44bbcddee66 (patch)
treee7c5510b110706bb56078b3ca8cee4b5410b208e /contrib/otshell_utils
parentfc0a2b837bd34e594b5158b20752f7d3404e3e02 (diff)
parent52db01ea6d1e75dd88426f5144148c74e7356948 (diff)
downloadmonzero-core-223055a86185444d2bcfe4b38bb4a44bbcddee66.tar.gz
monzero-core-223055a86185444d2bcfe4b38bb4a44bbcddee66.tar.xz
monzero-core-223055a86185444d2bcfe4b38bb4a44bbcddee66.zip
Merge pull request #1491
52db01ea Silence CMake policy warning on macos. See: https://cmake.org/cmake/help/v3.0/policy/CMP0042.html (Randi Joseph)
Diffstat (limited to 'contrib/otshell_utils')
-rw-r--r--contrib/otshell_utils/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/otshell_utils/CMakeLists.txt b/contrib/otshell_utils/CMakeLists.txt
index 464b125e4..263f07c85 100644
--- a/contrib/otshell_utils/CMakeLists.txt
+++ b/contrib/otshell_utils/CMakeLists.txt
@@ -3,6 +3,10 @@ project (otshell CXX)
# Add executable
+if(APPLE AND POLICY CMP0042)
+ cmake_policy(SET CMP0042 NEW)
+endif()
+
file(GLOB otshell_utils_sources # All files in directory:
"*.h"
"*.hpp"