diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-16 18:26:36 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-03-16 18:26:36 (GMT) |
commit | 3768961a667634c6f5d5dec22157241bb317f760 (patch) | |
tree | 728d3ea09cf9b6b6c876e86a84a4a1ac8c999ef7 /Utilities/cmxmlrpc | |
parent | d224858e1f19ccd1c5d250aee0e8c7e7ec2ece47 (diff) | |
download | CMake-3768961a667634c6f5d5dec22157241bb317f760.zip CMake-3768961a667634c6f5d5dec22157241bb317f760.tar.gz CMake-3768961a667634c6f5d5dec22157241bb317f760.tar.bz2 |
COMP: More cleanups
Diffstat (limited to 'Utilities/cmxmlrpc')
-rw-r--r-- | Utilities/cmxmlrpc/CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Utilities/cmxmlrpc/CMakeLists.txt b/Utilities/cmxmlrpc/CMakeLists.txt index fd2784a..893fff6 100644 --- a/Utilities/cmxmlrpc/CMakeLists.txt +++ b/Utilities/cmxmlrpc/CMakeLists.txt @@ -49,11 +49,13 @@ ENDIF(ATTR_UNUSED_VAR) SET(HAVE_LIBWWW_SSL) SET(DIRECTORY_SEPARATOR "/") -FIND_PACKAGE(Threads) SET(HAVE_PTHREADS) -IF(WIN32 OR CMAKE_USE_PTHREADS_INIT) - SET(HAVE_PTHREADS 1) -ENDIF(WIN32 OR CMAKE_USE_PTHREADS_INIT) +IF(CMAKE_BUILD_XMLRPC_WITH_THREADS) + FIND_PACKAGE(Threads) + IF(WIN32 OR CMAKE_USE_PTHREADS_INIT) + SET(HAVE_PTHREADS 1) + ENDIF(WIN32 OR CMAKE_USE_PTHREADS_INIT) +ENDIF(CMAKE_BUILD_XMLRPC_WITH_THREADS) INCLUDE_DIRECTORIES( "${CMAKE_CURRENT_SOURCE_DIR}" |