jsonrpc option in cmakes, removed all warnings

This commit is contained in:
Marek Kotewicz 2014-12-10 11:39:41 +01:00
parent bc616ecea9
commit 37f7535a00

View File

@ -1,4 +1,10 @@
cmake_policy(SET CMP0015 NEW)
# this policy was introduced in cmake 3.0
# remove if, once 3.0 will be used on unix
if (APPLE)
# old policy do not use MACOSX_RPATH
cmake_policy(SET CMP0042 OLD)
endif()
set(CMAKE_AUTOMOC OFF)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSTATICLIB")