Browse Source

CMake Policies must exist before they can be set

Michael Hansen 10 years ago
parent
commit
d872432e34
  1. 5
      CMakeLists.txt

5
CMakeLists.txt

@ -1,6 +1,9 @@
project(Plasma)
cmake_minimum_required(VERSION 2.8.11.2)
cmake_policy(SET CMP0054 NEW)
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
# Set up Product Identification parameters
set(PRODUCT_BRANCH_ID "1" CACHE STRING "Branch ID")

Loading…
Cancel
Save