linking to and finding mysqlclient

master
Denes Matetelki 12 years ago
parent f16d9f5eef
commit 0cc09a0c0e

@ -12,4 +12,8 @@ include_directories (../include)
aux_source_directory(../src CPP_UTILS_LIB_SOURCES) aux_source_directory(../src CPP_UTILS_LIB_SOURCES)
add_library (CppUtils SHARED ${CPP_UTILS_LIB_SOURCES}) add_library (CppUtils SHARED ${CPP_UTILS_LIB_SOURCES})
target_link_libraries(CppUtils pthread rt gcov )
add_library( mysqlclient SHARED IMPORTED )
set_target_properties( mysqlclient PROPERTIES IMPORTED_LOCATION /usr/lib/mysql/libmysqlclient.so )
target_link_libraries(CppUtils pthread rt gcov ssl mysqlclient)

Loading…
Cancel
Save