diff options
author | Mario Emmenlauer <memmenlauer@biodataanalysis.de> | 2021-08-31 14:00:16 +0200 |
---|---|---|
committer | Mario Emmenlauer <memmenlauer@biodataanalysis.de> | 2021-09-02 08:54:42 +0200 |
commit | bdb54bc1c985f6fc72712017c4776590c68ec940 (patch) | |
tree | 5c8aceef7d3775895b0d7e1bbca5f5153d02ee5a /test/c_glib | |
parent | b8069cbe9c83a2ac094a91c5bc59a545caabb652 (diff) | |
download | thrift-bdb54bc1c985f6fc72712017c4776590c68ec940.tar.gz |
Use modern OpenSSL cmake syntax (if available), and larger cmake cleanup
Diffstat (limited to 'test/c_glib')
-rw-r--r-- | test/c_glib/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/c_glib/CMakeLists.txt b/test/c_glib/CMakeLists.txt index 2e2d6870e..410774d78 100644 --- a/test/c_glib/CMakeLists.txt +++ b/test/c_glib/CMakeLists.txt @@ -17,7 +17,7 @@ # under the License. # -# Contains the thrift specific LINK_AGAINST_THRIFT_LIBRARY +# Contains the thrift specific target_link_libraries include(ThriftMacros) find_package(GLIB REQUIRED COMPONENTS gobject) @@ -39,10 +39,10 @@ set(crosstestgencglib_SOURCES gen-c_glib/t_test_thrift_test_types.h ) add_library(crosstestgencglib STATIC ${crosstestgencglib_SOURCES}) -LINK_AGAINST_THRIFT_LIBRARY(crosstestgencglib thrift_c_glib) +target_link_libraries(crosstestgencglib thrift_c_glib) if (WITH_ZLIB) - LINK_AGAINST_THRIFT_LIBRARY(crosstestgencglib thrift_c_glib_zlib) + target_link_libraries(crosstestgencglib thrift_c_glib_zlib) endif () add_executable(test_server src/test_server.c src/thrift_test_handler.c src/thrift_second_service_handler.c) |