diff options
author | Adrian Kummerlaender | 2018-01-21 18:38:54 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2018-01-21 18:38:54 +0100 |
commit | 678c15c7cbcad6ab9b8eee3f1ec3cfb88d2c5e1f (patch) | |
tree | 844d938814d12b13fbb41546ca642b6479c48122 | |
parent | 0973ec45e9bdb7760a5480a14d712373b4990750 (diff) | |
download | InputXSLT-678c15c7cbcad6ab9b8eee3f1ec3cfb88d2c5e1f.tar InputXSLT-678c15c7cbcad6ab9b8eee3f1ec3cfb88d2c5e1f.tar.gz InputXSLT-678c15c7cbcad6ab9b8eee3f1ec3cfb88d2c5e1f.tar.bz2 InputXSLT-678c15c7cbcad6ab9b8eee3f1ec3cfb88d2c5e1f.tar.lz InputXSLT-678c15c7cbcad6ab9b8eee3f1ec3cfb88d2c5e1f.tar.xz InputXSLT-678c15c7cbcad6ab9b8eee3f1ec3cfb88d2c5e1f.tar.zst InputXSLT-678c15c7cbcad6ab9b8eee3f1ec3cfb88d2c5e1f.zip |
Add explicit pthread linkage
-rw-r--r-- | CMakeLists.txt | 65 |
1 files changed, 28 insertions, 37 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a3ebd55..5ea124b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,62 +10,53 @@ include_directories( src/ ) -set( - Libraries - InputXSLT - xalan-c - xerces-c - boost_system - boost_filesystem - boost_program_options -) - -set( - Sources - src/platform_guard.cc - src/transformer_facade.cc - src/function/read_file.cc - src/function/write_file.cc - src/function/read_directory.cc - src/function/generate.cc - src/function/external_command.cc - src/support/filesystem_context.cc - src/support/xalan_string.cc - src/support/include_entity_resolver.cc - src/support/error/error_multiplexer.cc - src/support/error/error_capacitor.cc - src/support/error/warning_capacitor.cc - src/support/type/xobject_value.cc - src/support/dom/document_cache.cc - src/support/dom/document_cache_item.cc - src/support/dom/result_node_facade.cc -) - add_executable( ixslt - ixslt.cc + ixslt.cc ) add_library( InputXSLT STATIC - ${Sources} + src/platform_guard.cc + src/transformer_facade.cc + src/function/read_file.cc + src/function/write_file.cc + src/function/read_directory.cc + src/function/generate.cc + src/function/external_command.cc + src/support/filesystem_context.cc + src/support/xalan_string.cc + src/support/include_entity_resolver.cc + src/support/error/error_multiplexer.cc + src/support/error/error_capacitor.cc + src/support/error/warning_capacitor.cc + src/support/type/xobject_value.cc + src/support/dom/document_cache.cc + src/support/dom/document_cache_item.cc + src/support/dom/result_node_facade.cc ) target_link_libraries( ixslt - ${Libraries} + InputXSLT + xalan-c + xerces-c + pthread + boost_system + boost_filesystem + boost_program_options ) add_custom_target( testcase ALL WORKING_DIRECTORY - ${CMAKE_CURRENT_SOURCE_DIR}/test/ + ${CMAKE_CURRENT_SOURCE_DIR}/test/ COMMAND - sh check.sh + sh check.sh DEPENDS - ixslt + ixslt ) install( |