Skip to content

Commit d6704f9

Browse files
committed
try different install command for shared library
1 parent 9ef937c commit d6704f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,10 @@ if(NOT UNITS_HEADER_ONLY AND UNITS_BUILD_PYTHON_LIBRARY)
267267
# Install directive for scikit-build-core
268268
install(TARGETS units_llnl_ext LIBRARY DESTINATION units_llnl)
269269
if(UNITS_BUILD_SHARED_LIBRARY)
270-
install(TARGETS units LIBRARY DESTINATION units_llnl)
270+
install(TARGETS units RUNTIME DESTINATION units_llnl
271+
ARCHIVE DESTINATION units_llnl
272+
LIBRARY DESTINATION units_llnl
273+
)
271274
endif()
272275
endif()
273276

0 commit comments

Comments
 (0)