From cff41f401ee56da970e3a9b7280a156beabd610b Mon Sep 17 00:00:00 2001 From: Dengfeng Liu Date: Wed, 31 May 2017 15:24:43 +0800 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02964ae..e5fd33e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,9 +33,6 @@ set(libs ADD_DEFINITIONS(-Wall -O2 --std=gnu99 -Wmissing-declarations) -if(DEFINED BUILD_STATIC_LINK) - set(link_flag -static) -endif() add_executable(xkcp_spy ${src_xkcp_spy}) target_link_libraries(xkcp_spy ${link_flag} ${libs})