From 3e7b554f65266644b96e08cc88f6bd79709b03c9 Mon Sep 17 00:00:00 2001 From: Peter Conrad Date: Tue, 14 Apr 2015 22:06:15 +0200 Subject: [PATCH] Fixed variable case --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cb14d15..414a6c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -234,7 +234,7 @@ target_include_directories(fc #target_link_libraries( fc PUBLIC easylzma_static scrypt udt ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${PLATFORM_SPECIFIC_LIBS} ${RPCRT4} ${CMAKE_DL_LIBS} ${rt_library}) target_link_libraries( fc PUBLIC easylzma_static udt ${Boost_LIBRARIES} ${OPENSSL_LIBRARIES} ${ZLIB_LIBRARIES} ${PLATFORM_SPECIFIC_LIBS} ${RPCRT4} ${CMAKE_DL_LIBS} ${rt_library}) -IF(NOT BOOST_unit_test_framework_LIBRARY MATCHES "\\.a$") +IF(NOT Boost_UNIT_TEST_FRAMEWORK_LIBRARY MATCHES "\\.a$") IF(WIN32) add_definitions(/DBOOST_TEST_DYN_LINK) ELSE(WIN32)