From dda16735b94661b798d6c0fd3e41af944de0a1fe Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: 周日, 13 10月 2019 15:02:19 +0800 Subject: [PATCH] refactoring - locators --- example/CMakeLists.txt | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index e6b1ee1..87016f4 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 2.8.11) link_directories ( "${CMAKE_CURRENT_SOURCE_DIR}/../install/lib" ) include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/../install/include" ) @@ -9,7 +9,7 @@ SET(CMAKE_FIND_LIBRARY_SUFFIXES .lib ) else(MSVC) set(CMAKE_FIND_LIBRARY_SUFFIXES .a .so) -set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s -Wl,--exclude-libs,liblicense++_static.a") +set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s -Wl,--exclude-libs,liblicensecc_static.a") find_package(OpenSSL REQUIRED) endif(MSVC) @@ -17,7 +17,7 @@ add_executable(example example.cpp) -target_link_libraries(example license++_static os base tools_base) +target_link_libraries(example licensecc_static os base tools_base) if(NOT MSVC) target_link_libraries(example crypto pthread dl z) -- Gitblit v1.9.1