Skip to content

Commit

Permalink
Revert breakage in ce92c01 to CMake build of SO (OpenSimulationInterf…
Browse files Browse the repository at this point in the history
…ace#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.
  • Loading branch information
pmai authored and jdsika committed Jan 4, 2019
1 parent d3455a6 commit 448d399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ install(TARGETS ${PROJECT_NAME}_pic
EXPORT ${PROJECT_NAME}_targets
ARCHIVE DESTINATION "${INSTALL_LIB_DIR}" COMPONENT lib)

add_library(${PROJECT_NAME} STATIC $<TARGET_OBJECTS:${PROJECT_NAME}_obj>)
add_library(${PROJECT_NAME} SHARED $<TARGET_OBJECTS:${PROJECT_NAME}_obj>)
target_include_directories(${PROJECT_NAME}
PUBLIC
${PROTOBUF_INCLUDE_DIR}
Expand Down

0 comments on commit 448d399

Please sign in to comment.