Repository: celix
Updated Branches:
  refs/heads/develop 2492416e3 -> 6c158a378


CELIX-438: Replaces uses of add_compile_definitions to add_definitions


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/6c158a37
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/6c158a37
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/6c158a37

Branch: refs/heads/develop
Commit: 6c158a378853ab3f5bffc558357b555d1f90b200
Parents: 2492416
Author: Pepijn Noltes <[email protected]>
Authored: Sat Dec 1 17:58:56 2018 +0100
Committer: Pepijn Noltes <[email protected]>
Committed: Sat Dec 1 17:58:56 2018 +0100

----------------------------------------------------------------------
 bundles/log_writer/log_writer_syslog/CMakeLists.txt | 2 +-
 examples/celix-examples/CMakeLists.txt              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/6c158a37/bundles/log_writer/log_writer_syslog/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/bundles/log_writer/log_writer_syslog/CMakeLists.txt 
b/bundles/log_writer/log_writer_syslog/CMakeLists.txt
index 33b6b10..bcab720 100644
--- a/bundles/log_writer/log_writer_syslog/CMakeLists.txt
+++ b/bundles/log_writer/log_writer_syslog/CMakeLists.txt
@@ -38,7 +38,7 @@ if (LOG_WRITER_SYSLOG)
         endif()
     endif()
 
-    target_link_libraries(log_writer_syslog PRIVATE Celix::log_service_ap)
+    target_link_libraries(log_writer_syslog PRIVATE Celix::log_service_api)
 
     install_celix_bundle(log_writer_syslog EXPORT celix)
     add_library(Celix::log_writer_syslog ALIAS log_writer_syslog)

http://git-wip-us.apache.org/repos/asf/celix/blob/6c158a37/examples/celix-examples/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/examples/celix-examples/CMakeLists.txt 
b/examples/celix-examples/CMakeLists.txt
index e7ce308..15a6361 100644
--- a/examples/celix-examples/CMakeLists.txt
+++ b/examples/celix-examples/CMakeLists.txt
@@ -21,7 +21,7 @@ else ()
     set(EXAMPLES true) #celix_subproject is only available in the celix 
project -> using examples dir in other project is also supported
 endif ()
 if (EXAMPLES)
-    add_compile_definitions(ADD_CELIX_DEPRECATED_WARNING) #ensure that no 
deprecated api is used in the examples
+    add_definitions(-DADD_CELIX_DEPRECATED_WARNING) #ensure that no deprecated 
api is used in the examples
 
     add_subdirectory(bundle_example_c)
 

Reply via email to