mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
cmake: use MODULE targets for plugins
This commit is contained in:
parent
3120256dc4
commit
994f912a9f
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ link_libraries(villas)
|
|||
include_directories("${CMAKE_SOURCE_DIR}/include")
|
||||
add_definitions("-DVILLAS")
|
||||
|
||||
add_library(simple_circuit SHARED models/simple_circuit.c)
|
||||
add_library(simple_circuit MODULE models/simple_circuit.c)
|
||||
install(
|
||||
TARGETS simple_circuit
|
||||
COMPONENT plugins
|
||||
|
@ -33,7 +33,7 @@ install(
|
|||
)
|
||||
|
||||
if(WITH_HOOKS)
|
||||
add_library(example_hook SHARED hooks/example_hook.c)
|
||||
add_library(example_hook MODULE hooks/example_hook.c)
|
||||
install(
|
||||
TARGETS example_hook
|
||||
COMPONENT plugins
|
||||
|
|
Loading…
Add table
Reference in a new issue