From 72ac8c5e90fafac0defcb1ba41c0584ad30d80a6 Mon Sep 17 00:00:00 2001 From: Ben Thompson Date: Fri, 15 Jul 2016 16:23:26 -0500 Subject: [PATCH] CMake fixes for executable install and libclamysql --- dbcon/mysql/CMakeLists.txt | 2 ++ oam/post/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dbcon/mysql/CMakeLists.txt b/dbcon/mysql/CMakeLists.txt index 60a6f708f..bc9a7a880 100644 --- a/dbcon/mysql/CMakeLists.txt +++ b/dbcon/mysql/CMakeLists.txt @@ -22,6 +22,8 @@ add_definitions(-DMYSQL_DYNAMIC_PLUGIN) add_library(calmysql SHARED ${libcalmysql_SRCS}) +target_link_libraries(calmysql ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} threadpool) + set_target_properties(calmysql PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS calmysql DESTINATION ${ENGINE_LIBDIR}) diff --git a/oam/post/CMakeLists.txt b/oam/post/CMakeLists.txt index 4495ac76e..d8cfd7056 100644 --- a/oam/post/CMakeLists.txt +++ b/oam/post/CMakeLists.txt @@ -1,3 +1,3 @@ -install(FILES functions test-001.sh test-002.sh test-003.sh test-004.sh DESTINATION ${ENGINE_POSTDIR}) +install(PROGRAMS functions test-001.sh test-002.sh test-003.sh test-004.sh DESTINATION ${ENGINE_POSTDIR})