don't relink object if just the shared objects/DLL is changed

This commit is contained in:
Juergen E. Fischer 2019-04-02 17:14:09 +02:00
parent 95bd7480d0
commit c6382553cd

View File

@ -8,6 +8,9 @@ SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
CMAKE_POLICY (SET CMP0048 NEW)
CMAKE_POLICY (SET CMP0053 NEW)
# don't relink it only the shared object changes
SET(CMAKE_LINK_DEPENDS_NO_SHARED ON)
#############################################################
# Project and version
SET(CPACK_PACKAGE_VERSION_MAJOR "3")