Skip to content

Commit 1117cf0

Browse files
committed
Only build as static library
1 parent c5d0f86 commit 1117cf0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,11 @@ endif()
4848
set_source_files_properties(${libndofdev_HEADER_FILES} PROPERTIES HEADER_FILE_ONLY TRUE)
4949
list(APPEND libndofdev_SOURCE_FILES ${libndofdev_HEADER_FILES})
5050

51-
add_library (ndofdev ${libndofdev_SOURCE_FILES})
51+
add_library (ndofdev STATIC ${libndofdev_SOURCE_FILES})
5252
target_link_libraries(ndofdev
5353
${libndofdev_LIBRARIES}
5454
)
5555

5656
set_target_properties(ndofdev PROPERTIES PUBLIC_HEADER ndofdev_external.h)
5757

58-
install(TARGETS ndofdev EXPORT ndofdevTargets
59-
RUNTIME DESTINATION bin
60-
ARCHIVE DESTINATION lib
61-
PUBLIC_HEADER DESTINATION include
62-
)
58+
install(TARGETS ndofdev)

0 commit comments

Comments
 (0)