From a10f1cc95a0701b015ef36ea6367e1b371f27438 Mon Sep 17 00:00:00 2001 From: "Peter M. Petrakis" Date: Fri, 4 Oct 2019 13:58:10 -0400 Subject: [PATCH] fix static stdlib generator expression --- build/cmake/shared_libs.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/cmake/shared_libs.cmake b/build/cmake/shared_libs.cmake index 70cc95ab..85e4a706 100644 --- a/build/cmake/shared_libs.cmake +++ b/build/cmake/shared_libs.cmake @@ -38,6 +38,9 @@ endif() if(NANA_STATIC_STDLIB) target_link_libraries(nana - PUBLIC $<$, $>: -static-libgcc -static-libstdc++>) + PUBLIC + $<$:-static-libgcc> + $<$:-static-libstdc++> + ) endif()