Bump required CMake to 3.11
This commit is contained in:
parent
7c31141c5a
commit
5b796454c1
@ -12,14 +12,10 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
if (CMAKE_VERSION VERSION_LESS 3.0)
|
cmake_policy(SET CMP0048 NEW)
|
||||||
project(cppdap CXX C)
|
project(cppdap VERSION 1.58.0 LANGUAGES CXX C)
|
||||||
else()
|
|
||||||
cmake_policy(SET CMP0048 NEW)
|
|
||||||
project(cppdap VERSION 1.58.0 LANGUAGES CXX C)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 3.11)
|
||||||
|
|
||||||
set (CMAKE_CXX_STANDARD 11)
|
set (CMAKE_CXX_STANDARD 11)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user