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})