Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't relink object if just the shared objects/DLL is changed
(cherry picked from commit c638255)
  • Loading branch information
jef-n committed Apr 5, 2019
1 parent c7a7b29 commit c77e393
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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 if only the shared object changes
SET(CMAKE_LINK_DEPENDS_NO_SHARED ON)

#############################################################
# Project and version
SET(CPACK_PACKAGE_VERSION_MAJOR "3")
Expand Down

0 comments on commit c77e393

Please sign in to comment.