From ae057e2641e16d30165de016ab21666c4d3ba956 Mon Sep 17 00:00:00 2001 From: brarcher Date: Wed, 25 Dec 2013 04:51:12 +0000 Subject: [PATCH] cmake: fix subunit lib check git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@975 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af25d7f..d94c04c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -257,11 +257,11 @@ if (HAVE_LIBRT) ADD_DEFINITIONS(-DHAVE_LIBRT=1) endif (HAVE_LIBRT) -check_library_exists(subunit subunit_test_start "" ENABLE_SUBUNIT) -if (ENABLE_SUBUNIT) +check_library_exists(subunit subunit_test_start "" HAVE_SUBUNIT) +if (HAVE_SUBUNIT) set(SUBUNIT "subunit") ADD_DEFINITIONS(-DENABLE_SUBUNIT=1) -endif (ENABLE_SUBUNIT) +endif (HAVE_SUBUNIT) ############################################################################### -- 2.40.0