From e9c49c0b1ff6fd419737c31afd11b8ff06b57513 Mon Sep 17 00:00:00 2001 From: sdixon Date: Thu, 14 Sep 2023 11:58:53 +0100 Subject: [PATCH] fixing typo in cli cmake --- source/bin/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/bin/CMakeLists.txt b/source/bin/CMakeLists.txt index c3488e7e..647abd84 100644 --- a/source/bin/CMakeLists.txt +++ b/source/bin/CMakeLists.txt @@ -21,7 +21,7 @@ if( ENABLE_CAPNP ) find_library( STDCXX_LIBRARY_FILE stdc++ HINTS ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES} ) get_filename_component(STDCXX_LIBRARY_DIR ${STDCXX_LIBRARY_FILE} DIRECTORY ) - if ( "${STDCXX_LIBRARY_FILE}" STREQUAL "" ) + if ( "${STDCXX_LIBRARY_DIR}" STREQUAL "" ) set ( STDCXX_RPATH "" ) else() set ( STDCXX_RPATH "-Wl,-rpath,${STDCXX_LIBRARY_DIR} -L${STDCXX_LIBRARY_DIR} -lstdc++" )