mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-02-06 02:52:07 +08:00
Fix cmake build
This commit is contained in:
@@ -6,7 +6,7 @@ add_executable(mosquitto_db_dump
|
||||
../../lib/memory_mosq.c
|
||||
../../lib/packet_datatypes.c
|
||||
../../lib/property_mosq.c
|
||||
../../lib/utf8_mosq.c
|
||||
../../common/utf8_mosq.c
|
||||
|
||||
../../src/memory_public.c
|
||||
../../src/persist_read.c
|
||||
|
||||
@@ -43,7 +43,7 @@ add_library(persistence-read-obj
|
||||
../../../src/persist_read.c
|
||||
../../../src/retain.c
|
||||
../../../src/topic_tok.c
|
||||
../../../lib/utf8_mosq.c
|
||||
../../../common/utf8_mosq.c
|
||||
)
|
||||
target_compile_definitions(persistence-read-obj PRIVATE WITH_PERSISTENCE WITH_BROKER)
|
||||
target_link_libraries(persistence-read-obj PUBLIC common-unit-test-header OpenSSL::SSL)
|
||||
@@ -74,7 +74,7 @@ add_library(persistence-write-obj
|
||||
../../../src/retain.c
|
||||
../../../src/subs.c
|
||||
../../../src/topic_tok.c
|
||||
../../../lib/utf8_mosq.c
|
||||
../../../common/utf8_mosq.c
|
||||
)
|
||||
target_compile_definitions(persistence-write-obj PRIVATE WITH_PERSISTENCE WITH_BROKER)
|
||||
target_link_libraries(persistence-write-obj PUBLIC common-unit-test-header)
|
||||
@@ -101,7 +101,7 @@ add_library(subs-obj
|
||||
../../../src/database.c
|
||||
../../../src/subs.c
|
||||
../../../src/topic_tok.c
|
||||
../../../lib/utf8_mosq.c
|
||||
../../../common/utf8_mosq.c
|
||||
)
|
||||
target_compile_definitions(subs-obj PRIVATE WITH_BROKER)
|
||||
target_link_libraries(subs-obj PUBLIC common-unit-test-header)
|
||||
|
||||
@@ -21,7 +21,7 @@ add_executable(lib-test
|
||||
../../../lib/strings_mosq.c
|
||||
../../../lib/util_mosq.c
|
||||
../../../lib/util_topic.c
|
||||
../../../lib/utf8_mosq.c
|
||||
../../../common/utf8_mosq.c
|
||||
)
|
||||
|
||||
target_link_libraries(lib-test PRIVATE common-unit-test-header OpenSSL::SSL)
|
||||
|
||||
Reference in New Issue
Block a user