Skip to content

Commit 6b98698

Browse files
committed
Update installation logic
1 parent 6eb33b9 commit 6b98698

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

kubernetes/CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -1563,9 +1563,7 @@ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in)
15631563
install(TARGETS ${pkgName} DESTINATION ${CMAKE_INSTALL_PREFIX})
15641564
else()
15651565
include(GNUInstallDirs)
1566-
install(TARGETS ${pkgName}
1567-
EXPORT ${pkgName}Targets
1568-
)
1566+
install(TARGETS ${pkgName} DESTINATION ${CMAKE_INSTALL_PREFIX} EXPORT ${pkgName}Targets)
15691567

15701568
foreach(HDR_FILE ${HDRS})
15711569
get_filename_component(HDR_DIRECTORY ${HDR_FILE} DIRECTORY)

0 commit comments

Comments
 (0)