From 629497ed607a741fdb5e1defa8c8bb5378bfa6d5 Mon Sep 17 00:00:00 2001 From: jzt Date: Mon, 26 Aug 2019 13:27:51 +0800 Subject: [PATCH] fix set sqlite3 propertie (#212) --- sqlite3/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite3/CMakeLists.txt b/sqlite3/CMakeLists.txt index 677f2ae2..7ba796d0 100644 --- a/sqlite3/CMakeLists.txt +++ b/sqlite3/CMakeLists.txt @@ -12,7 +12,7 @@ add_library(sqlite3 ) if (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")) - set_target_properties(SQLiteCpp PROPERTIES COMPILE_FLAGS "-fPIC") + set_target_properties(sqlite3 PROPERTIES COMPILE_FLAGS "-fPIC") endif (UNIX AND (CMAKE_COMPILER_IS_GNUCXX OR ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")) if (UNIX AND CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 7.0)