File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ if(HAVE_RULES)
3434 if (NOT PCRE_LIBRARY OR NOT PCRE_INCLUDE)
3535 message (FATAL_ERROR "pcre dependency for RULES has not been found" )
3636 endif ()
37+ else ()
38+ set (PCRE_LIBRARY "" )
3739endif ()
3840
3941set (CMAKE_INCLUDE_CURRENT_DIR ON )
@@ -70,6 +72,9 @@ if(NOT USE_BUNDLED_TINYXML2)
7072endif ()
7173
7274find_package (Threads REQUIRED)
75+ if (NOT DEFINED CMAKE_THREAD_LIBS_INIT)
76+ set (CMAKE_THREAD_LIBS_INIT "" )
77+ endif ()
7378
7479if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.30" )
7580 # avoid legacy warning about Boost lookup in CMake
Original file line number Diff line number Diff line change @@ -90,9 +90,11 @@ message(STATUS)
9090message (STATUS "USE_BOOST = ${USE_BOOST} " )
9191if (USE_BOOST)
9292 message (STATUS "Boost_FOUND = ${Boost_FOUND} " )
93- message (STATUS "Boost_VERSION_STRING = ${Boost_VERSION_STRING} " )
94- message (STATUS "Boost_INCLUDE_DIRS = ${Boost_INCLUDE_DIRS} " )
95- message (STATUS "USE_BOOST_INT128 = ${USE_BOOST_INT128} " )
93+ if (Boost_FOUND)
94+ message (STATUS "Boost_VERSION_STRING = ${Boost_VERSION_STRING} " )
95+ message (STATUS "Boost_INCLUDE_DIRS = ${Boost_INCLUDE_DIRS} " )
96+ message (STATUS "USE_BOOST_INT128 = ${USE_BOOST_INT128} " )
97+ endif ()
9698endif ()
9799message (STATUS )
98100message (STATUS "USE_LIBCXX = ${USE_LIBCXX} " )
You can’t perform that action at this time.
0 commit comments