Skip to content

Commit 448d399

Browse files
pmaijdsika
authored andcommitted
Revert breakage in ce92c01 to CMake build of SO (#301)
Commit ce92c01 changed the open_simulation_interface target from being a shared library to a static library (for which we already have the open_simulation_interface_static target). This reverses that part of the patch.
1 parent d3455a6 commit 448d399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ install(TARGETS ${PROJECT_NAME}_pic
118118
EXPORT ${PROJECT_NAME}_targets
119119
ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" COMPONENT lib)
120120

121-
add_library(${PROJECT_NAME} STATIC $<TARGET_OBJECTS:${PROJECT_NAME}_obj>)
121+
add_library(${PROJECT_NAME} SHARED $<TARGET_OBJECTS:${PROJECT_NAME}_obj>)
122122
target_include_directories(${PROJECT_NAME}
123123
PUBLIC
124124
${PROTOBUF_INCLUDE_DIR}

0 commit comments

Comments
 (0)