From bb78abb662e681a75163e20fc5f813469824e602 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Tue, 26 Dec 2017 17:38:09 +0000 Subject: [PATCH] Fix copy and paste type. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d4255e..5391b50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -166,7 +166,7 @@ set_source_files_properties( function(test_cxx CXX_RUNTIME_NAME IS_STDLIB) set(CXX_RUNTIME_NAME "${CMAKE_SHARED_LIBRARY_PREFIX}${CXX_RUNTIME_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX}") message(STATUS "Testing ${CXX_RUNTIME_NAME} as the C++ runtime library") - find_library(CXX_RUNTIME NAMES libsupc++.so) + find_library(CXX_RUNTIME NAMES ${CXX_RUNTIME_NAME}) if (CXX_RUNTIME) message(STATUS "Testing ${CXX_RUNTIME} as the C++ runtime library") try_compile(USERUNTIME