Skip to content

Commit c638255

Browse files
committed
don't relink object if just the shared objects/DLL is changed
1 parent 95bd748 commit c638255

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
88
CMAKE_POLICY (SET CMP0048 NEW)
99
CMAKE_POLICY (SET CMP0053 NEW)
1010

11+
# don't relink it only the shared object changes
12+
SET(CMAKE_LINK_DEPENDS_NO_SHARED ON)
13+
1114
#############################################################
1215
# Project and version
1316
SET(CPACK_PACKAGE_VERSION_MAJOR "3")

0 commit comments

Comments
 (0)