Browse Source

Fix for older cmake versions.

cl-refactor
Gav Wood 11 years ago
parent
commit
3a65c1508d
  1. 5
      libethential/CMakeLists.txt

5
libethential/CMakeLists.txt

@ -1,5 +1,8 @@
cmake_policy(SET CMP0015 NEW)
cmake_policy(SET CMP0022 NEW)
if (CMAKE_MAJOR_VERSION GREATER 1 AND CMAKE_MINOR_VERSION GREATER 7 AND CMAKE_PATCH_VERSION GREATER 11)
cmake_policy(SET CMP0022 NEW)
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")

Loading…
Cancel
Save