Silence CMake policy warning on macos.
See: https://cmake.org/cmake/help/v3.0/policy/CMP0042.html
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user