Skip to content

Commit dd79f16

Browse files
committed
Add install for dll
1 parent 395c084 commit dd79f16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,9 @@ endif()
6666
if (NOT CMAKE_DISABLE_PRECOMPILE_HEADERS)
6767
target_precompile_headers(cppcheck-core PRIVATE precompiled.h)
6868
endif()
69+
70+
if(BUILD_CORE_DLL)
71+
install(TARGETS cppcheck-core
72+
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
73+
COMPONENT applications)
74+
endif()

0 commit comments

Comments
 (0)