diff --git a/dbcon/ddlpackageproc/CMakeLists.txt b/dbcon/ddlpackageproc/CMakeLists.txt index 0e1d7951e..840d0f1ed 100644 --- a/dbcon/ddlpackageproc/CMakeLists.txt +++ b/dbcon/ddlpackageproc/CMakeLists.txt @@ -14,6 +14,8 @@ set(ddlpackageproc_LIB_SRCS add_library(ddlpackageproc SHARED ${ddlpackageproc_LIB_SRCS}) +add_dependencies(ddlpackageproc libnetsnmpmibs) + set_target_properties(ddlpackageproc PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS ddlpackageproc DESTINATION ${ENGINE_LIBDIR}) diff --git a/dbcon/dmlpackageproc/CMakeLists.txt b/dbcon/dmlpackageproc/CMakeLists.txt index 07a42050b..bd394683c 100644 --- a/dbcon/dmlpackageproc/CMakeLists.txt +++ b/dbcon/dmlpackageproc/CMakeLists.txt @@ -15,6 +15,8 @@ set(dmlpackageproc_LIB_SRCS add_library(dmlpackageproc SHARED ${dmlpackageproc_LIB_SRCS}) +add_dependencies(dmlpackageproc libnetsnmpmibs) + set_target_properties(dmlpackageproc PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS dmlpackageproc DESTINATION ${ENGINE_LIBDIR}) diff --git a/dbcon/execplan/CMakeLists.txt b/dbcon/execplan/CMakeLists.txt index 480632b92..6e79a5709 100644 --- a/dbcon/execplan/CMakeLists.txt +++ b/dbcon/execplan/CMakeLists.txt @@ -45,6 +45,8 @@ set(execplan_LIB_SRCS add_library(execplan SHARED ${execplan_LIB_SRCS}) +add_dependencies(execplan libnetsnmpmibs) + set_target_properties(execplan PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS execplan DESTINATION ${ENGINE_LIBDIR}) diff --git a/dbcon/joblist/CMakeLists.txt b/dbcon/joblist/CMakeLists.txt index 11187d7fa..59f5d70e8 100644 --- a/dbcon/joblist/CMakeLists.txt +++ b/dbcon/joblist/CMakeLists.txt @@ -61,6 +61,8 @@ set(joblist_LIB_SRCS add_library(joblist SHARED ${joblist_LIB_SRCS}) +add_dependencies(joblist libnetsnmpmibs) + set_target_properties(joblist PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS joblist DESTINATION ${ENGINE_LIBDIR}) diff --git a/dbcon/mysql/CMakeLists.txt b/dbcon/mysql/CMakeLists.txt index 753a95007..eaa38b893 100644 --- a/dbcon/mysql/CMakeLists.txt +++ b/dbcon/mysql/CMakeLists.txt @@ -28,6 +28,8 @@ set_source_files_properties(ha_calpont.cpp PROPERTIES COMPILE_FLAGS "-fno-rtti - add_library(calmysql SHARED ${libcalmysql_SRCS}) +add_dependencies(calmysql libnetsnmpmibs) + target_link_libraries(calmysql ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} threadpool) set_target_properties(calmysql PROPERTIES VERSION 1.0.0 SOVERSION 1) diff --git a/ddlproc/CMakeLists.txt b/ddlproc/CMakeLists.txt index 18d3540b1..6da3a1690 100644 --- a/ddlproc/CMakeLists.txt +++ b/ddlproc/CMakeLists.txt @@ -8,6 +8,8 @@ set(DDLProc_SRCS ddlproc.cpp ddlprocessor.cpp) add_executable(DDLProc ${DDLProc_SRCS}) +add_dependencies(DDLProc libnetsnmpmibs) + target_link_libraries(DDLProc ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} threadpool) install(TARGETS DDLProc DESTINATION ${ENGINE_BINDIR}) diff --git a/dmlproc/CMakeLists.txt b/dmlproc/CMakeLists.txt index 4b1511faf..4d40ec8ac 100644 --- a/dmlproc/CMakeLists.txt +++ b/dmlproc/CMakeLists.txt @@ -12,6 +12,8 @@ set(DMLProc_SRCS add_executable(DMLProc ${DMLProc_SRCS}) +add_dependencies(DMLProc libnetsnmpmibs) + target_link_libraries(DMLProc ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} threadpool ddlcleanuputil batchloader) install(TARGETS DMLProc DESTINATION ${ENGINE_BINDIR}) diff --git a/exemgr/CMakeLists.txt b/exemgr/CMakeLists.txt index 266b84abd..d7847a536 100644 --- a/exemgr/CMakeLists.txt +++ b/exemgr/CMakeLists.txt @@ -8,6 +8,8 @@ set(ExeMgr_SRCS main.cpp activestatementcounter.cpp femsghandler.cpp) add_executable(ExeMgr ${ExeMgr_SRCS}) +add_dependencies(ExeMgr libnetsnmpmibs) + target_link_libraries(ExeMgr ${ENGINE_LDFLAGS} ${ENGINE_EXEC_LIBS} cacheutils threadpool) install(TARGETS ExeMgr DESTINATION ${ENGINE_BINDIR}) diff --git a/oam/oamcpp/CMakeLists.txt b/oam/oamcpp/CMakeLists.txt index 96a8a8eb5..522465888 100644 --- a/oam/oamcpp/CMakeLists.txt +++ b/oam/oamcpp/CMakeLists.txt @@ -8,6 +8,8 @@ set(oamcpp_LIB_SRCS liboamcpp.cpp oamcache.cpp) add_library(oamcpp SHARED ${oamcpp_LIB_SRCS}) +add_dependencies(oamcpp libnetsnmpmibs) + set_target_properties(oamcpp PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS oamcpp DESTINATION ${ENGINE_LIBDIR}) diff --git a/oamapps/columnstoreDB/CMakeLists.txt b/oamapps/columnstoreDB/CMakeLists.txt index a043420d3..d53cb97d7 100644 --- a/oamapps/columnstoreDB/CMakeLists.txt +++ b/oamapps/columnstoreDB/CMakeLists.txt @@ -8,6 +8,8 @@ set(columnstoreDBWrite_SRCS columnstoreDB.cpp) add_executable(columnstoreDBWrite ${columnstoreDBWrite_SRCS}) +add_dependencies(columnstoreDBWrite libnetsnmpmibs) + target_link_libraries(columnstoreDBWrite ${ENGINE_LDFLAGS} readline ncurses ${ENGINE_EXEC_LIBS}) install(TARGETS columnstoreDBWrite DESTINATION ${ENGINE_BINDIR}) diff --git a/oamapps/columnstoreSupport/CMakeLists.txt b/oamapps/columnstoreSupport/CMakeLists.txt index 83eac4063..a2789c0c1 100644 --- a/oamapps/columnstoreSupport/CMakeLists.txt +++ b/oamapps/columnstoreSupport/CMakeLists.txt @@ -8,6 +8,8 @@ set(columnstoreSupport_SRCS columnstoreSupport.cpp) add_executable(columnstoreSupport ${columnstoreSupport_SRCS}) +add_dependencies(columnstoreSupport libnetsnmpmibs) + target_link_libraries(columnstoreSupport ${ENGINE_LDFLAGS} readline ncurses ${ENGINE_EXEC_LIBS}) install(TARGETS columnstoreSupport DESTINATION ${ENGINE_BINDIR}) diff --git a/oamapps/mcsadmin/CMakeLists.txt b/oamapps/mcsadmin/CMakeLists.txt index dec35a230..273cb69d0 100644 --- a/oamapps/mcsadmin/CMakeLists.txt +++ b/oamapps/mcsadmin/CMakeLists.txt @@ -8,6 +8,8 @@ set(mcsadmin_SRCS mcsadmin.cpp) add_executable(mcsadmin ${mcsadmin_SRCS}) +add_dependencies(mcsadmin libnetsnmpmibs) + target_link_libraries(mcsadmin ${ENGINE_LDFLAGS} readline ncurses ${ENGINE_EXEC_LIBS}) install(TARGETS mcsadmin DESTINATION ${ENGINE_BINDIR}) diff --git a/oamapps/postConfigure/CMakeLists.txt b/oamapps/postConfigure/CMakeLists.txt index eefbf8790..6388da44c 100644 --- a/oamapps/postConfigure/CMakeLists.txt +++ b/oamapps/postConfigure/CMakeLists.txt @@ -8,6 +8,8 @@ set(postConfigure_SRCS postConfigure.cpp helpers.cpp) add_executable(postConfigure ${postConfigure_SRCS}) +add_dependencies(postConfigure libnetsnmpmibs) + target_link_libraries(postConfigure ${ENGINE_LDFLAGS} readline ncurses ${ENGINE_EXEC_LIBS}) install(TARGETS postConfigure DESTINATION ${ENGINE_BINDIR}) @@ -19,6 +21,8 @@ set(installer_SRCS installer.cpp helpers.cpp) add_executable(installer ${installer_SRCS}) +add_dependencies(installer libnetsnmpmibs) + target_link_libraries(installer ${ENGINE_LDFLAGS} readline ncurses ${ENGINE_EXEC_LIBS}) install(TARGETS installer DESTINATION ${ENGINE_BINDIR}) @@ -30,6 +34,8 @@ set(getMySQLpw_SRCS getMySQLpw.cpp) add_executable(getMySQLpw ${getMySQLpw_SRCS}) +add_dependencies(getMySQLpw libnetsnmpmibs) + target_link_libraries(getMySQLpw ${ENGINE_LDFLAGS} readline ncurses ${ENGINE_EXEC_LIBS}) install(TARGETS getMySQLpw DESTINATION ${ENGINE_BINDIR}) @@ -41,6 +47,8 @@ set(amazonInstaller_SRCS amazonInstaller.cpp helpers.cpp) add_executable(amazonInstaller ${amazonInstaller_SRCS}) +add_dependencies(amazonInstaller libnetsnmpmibs) + target_link_libraries(amazonInstaller ${ENGINE_LDFLAGS} readline ncurses ${ENGINE_EXEC_LIBS}) install(TARGETS amazonInstaller DESTINATION ${ENGINE_BINDIR}) @@ -52,6 +60,8 @@ set(mycnfUpgrade_SRCS mycnfUpgrade.cpp) add_executable(mycnfUpgrade ${mycnfUpgrade_SRCS}) +add_dependencies(mycnfUpgrade libnetsnmpmibs) + target_link_libraries(mycnfUpgrade ${ENGINE_LDFLAGS} readline ncurses ${ENGINE_EXEC_LIBS}) install(TARGETS mycnfUpgrade DESTINATION ${ENGINE_BINDIR}) diff --git a/primitives/blockcache/CMakeLists.txt b/primitives/blockcache/CMakeLists.txt index a45778c7c..521e1a9a3 100644 --- a/primitives/blockcache/CMakeLists.txt +++ b/primitives/blockcache/CMakeLists.txt @@ -18,4 +18,6 @@ set(dbbc_STAT_SRCS add_library(dbbc STATIC ${dbbc_STAT_SRCS}) +add_dependencies(dbbc libnetsnmpmibs) + INSTALL (TARGETS dbbc DESTINATION ${ENGINE_LIBDIR}) diff --git a/primitives/linux-port/CMakeLists.txt b/primitives/linux-port/CMakeLists.txt index 45f010277..cda0bbb7d 100644 --- a/primitives/linux-port/CMakeLists.txt +++ b/primitives/linux-port/CMakeLists.txt @@ -10,5 +10,7 @@ set(processor_STAT_SRCS primitiveprocessor.cpp dictionary.cpp column.cpp) add_library(processor STATIC ${processor_STAT_SRCS}) +add_dependencies(processor libnetsnmpmibs) + INSTALL (TARGETS processor DESTINATION ${ENGINE_LIBDIR}) diff --git a/primitives/primproc/CMakeLists.txt b/primitives/primproc/CMakeLists.txt index aa300e475..0886ef27f 100644 --- a/primitives/primproc/CMakeLists.txt +++ b/primitives/primproc/CMakeLists.txt @@ -24,6 +24,8 @@ set(PrimProc_SRCS add_executable(PrimProc ${PrimProc_SRCS}) +add_dependencies(PrimProc libnetsnmpmibs) + target_link_libraries(PrimProc ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} threadpool cacheutils dbbc processor) install(TARGETS PrimProc DESTINATION ${ENGINE_BINDIR}) diff --git a/procmgr/CMakeLists.txt b/procmgr/CMakeLists.txt index 1f81c0ac7..a5a96becd 100644 --- a/procmgr/CMakeLists.txt +++ b/procmgr/CMakeLists.txt @@ -8,6 +8,8 @@ set(ProcMgr_SRCS main.cpp processmanager.cpp) add_executable(ProcMgr ${ProcMgr_SRCS}) +add_dependencies(ProcMgr libnetsnmpmibs) + target_link_libraries(ProcMgr ${ENGINE_LDFLAGS} cacheutils ${ENGINE_EXEC_LIBS}) install(TARGETS ProcMgr DESTINATION ${ENGINE_BINDIR}) diff --git a/procmon/CMakeLists.txt b/procmon/CMakeLists.txt index b535b9c36..4deef2ee7 100644 --- a/procmon/CMakeLists.txt +++ b/procmon/CMakeLists.txt @@ -8,6 +8,8 @@ set(ProcMon_SRCS main.cpp processmonitor.cpp) add_executable(ProcMon ${ProcMon_SRCS}) +add_dependencies(ProcMon libnetsnmpmibs) + target_link_libraries(ProcMon ${ENGINE_LDFLAGS} cacheutils ${ENGINE_EXEC_LIBS}) install(TARGETS ProcMon DESTINATION ${ENGINE_BINDIR}) diff --git a/snmpd/snmpmanager/CMakeLists.txt b/snmpd/snmpmanager/CMakeLists.txt index 859a0f7a3..b113763c8 100644 --- a/snmpd/snmpmanager/CMakeLists.txt +++ b/snmpd/snmpmanager/CMakeLists.txt @@ -8,6 +8,8 @@ set(snmpmanager_LIB_SRCS snmpmanager.cpp alarm.cpp) add_library(snmpmanager SHARED ${snmpmanager_LIB_SRCS}) +add_dependencies(snmpmanager libnetsnmpmibs) + set_target_properties(snmpmanager PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS snmpmanager DESTINATION ${ENGINE_LIBDIR}) diff --git a/tools/cleartablelock/CMakeLists.txt b/tools/cleartablelock/CMakeLists.txt index d096f77e5..6d7311685 100644 --- a/tools/cleartablelock/CMakeLists.txt +++ b/tools/cleartablelock/CMakeLists.txt @@ -8,6 +8,8 @@ set(cleartablelock_SRCS cleartablelock.cpp cleartablelockthread.cpp) add_executable(cleartablelock ${cleartablelock_SRCS}) +add_dependencies(cleartablelock libnetsnmpmibs) + target_link_libraries(cleartablelock ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS}) install(TARGETS cleartablelock DESTINATION ${ENGINE_BINDIR}) diff --git a/tools/configMgt/CMakeLists.txt b/tools/configMgt/CMakeLists.txt index 855aabbf1..5ee01f1cf 100644 --- a/tools/configMgt/CMakeLists.txt +++ b/tools/configMgt/CMakeLists.txt @@ -8,6 +8,8 @@ set(autoInstaller_SRCS autoInstaller.cpp) add_executable(autoInstaller ${autoInstaller_SRCS}) +add_dependencies(autoInstaller libnetsnmpmibs) + target_link_libraries(autoInstaller ${ENGINE_LDFLAGS} ${ENGINE_EXEC_LIBS} readline ncurses) install(TARGETS autoInstaller DESTINATION ${ENGINE_BINDIR}) @@ -19,6 +21,8 @@ set(autoConfigure_SRCS autoConfigure.cpp) add_executable(autoConfigure ${autoConfigure_SRCS}) +add_dependencies(autoConfigure libnetsnmpmibs) + target_link_libraries(autoConfigure ${ENGINE_LDFLAGS} ${ENGINE_EXEC_LIBS}) install(TARGETS autoConfigure DESTINATION ${ENGINE_BINDIR}) @@ -30,6 +34,8 @@ set(svnQuery_SRCS svnQuery.cpp) add_executable(svnQuery ${svnQuery_SRCS}) +add_dependencies(svnQuery libnetsnmpmibs) + target_link_libraries(svnQuery ${ENGINE_LDFLAGS} ${ENGINE_EXEC_LIBS}) install(TARGETS svnQuery DESTINATION ${ENGINE_BINDIR}) diff --git a/tools/dbbuilder/CMakeLists.txt b/tools/dbbuilder/CMakeLists.txt index d049fb705..0b04c9035 100644 --- a/tools/dbbuilder/CMakeLists.txt +++ b/tools/dbbuilder/CMakeLists.txt @@ -8,6 +8,8 @@ set(dbbuilder_SRCS dbbuilder.cpp systemcatalog.cpp) add_executable(dbbuilder ${dbbuilder_SRCS}) +add_dependencies(dbbuilder libnetsnmpmibs) + target_link_libraries(dbbuilder ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS}) install(TARGETS dbbuilder DESTINATION ${ENGINE_BINDIR}) diff --git a/tools/ddlcleanup/CMakeLists.txt b/tools/ddlcleanup/CMakeLists.txt index 657631e05..2d340dd1a 100644 --- a/tools/ddlcleanup/CMakeLists.txt +++ b/tools/ddlcleanup/CMakeLists.txt @@ -8,6 +8,8 @@ set(ddlcleanup_SRCS ddlcleanup.cpp) add_executable(ddlcleanup ${ddlcleanup_SRCS}) +add_dependencies(ddlcleanup libnetsnmpmibs) + target_link_libraries(ddlcleanup ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} ddlcleanuputil) install(TARGETS ddlcleanup DESTINATION ${ENGINE_BINDIR}) diff --git a/tools/editem/CMakeLists.txt b/tools/editem/CMakeLists.txt index 19a950464..bf75b9c46 100644 --- a/tools/editem/CMakeLists.txt +++ b/tools/editem/CMakeLists.txt @@ -8,6 +8,8 @@ set(editem_SRCS editem.cpp) add_executable(editem ${editem_SRCS}) +add_dependencies(editem libnetsnmpmibs) + target_link_libraries(editem ${ENGINE_LDFLAGS} ${ENGINE_EXEC_LIBS}) install(TARGETS editem DESTINATION ${ENGINE_BINDIR}) diff --git a/tools/setConfig/CMakeLists.txt b/tools/setConfig/CMakeLists.txt index 553edeafb..02383838c 100644 --- a/tools/setConfig/CMakeLists.txt +++ b/tools/setConfig/CMakeLists.txt @@ -8,6 +8,8 @@ set(setConfig_SRCS main.cpp) add_executable(setConfig ${setConfig_SRCS}) +add_dependencies(setConfig libnetsnmpmibs) + target_link_libraries(setConfig ${ENGINE_LDFLAGS} ${ENGINE_EXEC_LIBS}) install(TARGETS setConfig DESTINATION ${ENGINE_BINDIR}) diff --git a/utils/batchloader/CMakeLists.txt b/utils/batchloader/CMakeLists.txt index a9204b915..1ee5044da 100644 --- a/utils/batchloader/CMakeLists.txt +++ b/utils/batchloader/CMakeLists.txt @@ -8,6 +8,8 @@ set(batchloader_LIB_SRCS batchloader.cpp) add_library(batchloader SHARED ${batchloader_LIB_SRCS}) +add_dependencies(batchloader libnetsnmpmibs) + set_target_properties(batchloader PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS batchloader DESTINATION ${ENGINE_LIBDIR}) diff --git a/utils/ddlcleanup/CMakeLists.txt b/utils/ddlcleanup/CMakeLists.txt index fede0e4a8..2f5d33c12 100644 --- a/utils/ddlcleanup/CMakeLists.txt +++ b/utils/ddlcleanup/CMakeLists.txt @@ -8,6 +8,8 @@ set(ddlcleanuputil_LIB_SRCS ddlcleanuputil.cpp) add_library(ddlcleanuputil SHARED ${ddlcleanuputil_LIB_SRCS}) +add_dependencies(ddlcleanuputil libnetsnmpmibs) + set_target_properties(ddlcleanuputil PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS ddlcleanuputil DESTINATION ${ENGINE_LIBDIR}) diff --git a/utils/funcexp/CMakeLists.txt b/utils/funcexp/CMakeLists.txt index 7bdc51a97..d13ec8050 100644 --- a/utils/funcexp/CMakeLists.txt +++ b/utils/funcexp/CMakeLists.txt @@ -108,6 +108,8 @@ set(funcexp_LIB_SRCS add_library(funcexp SHARED ${funcexp_LIB_SRCS}) +add_dependencies(funcexp libnetsnmpmibs) + set_target_properties(funcexp PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS funcexp DESTINATION ${ENGINE_LIBDIR}) diff --git a/utils/idbdatafile/CMakeLists.txt b/utils/idbdatafile/CMakeLists.txt index 7e2101323..48ebe107b 100644 --- a/utils/idbdatafile/CMakeLists.txt +++ b/utils/idbdatafile/CMakeLists.txt @@ -16,6 +16,8 @@ set(idbdatafile_LIB_SRCS add_library(idbdatafile SHARED ${idbdatafile_LIB_SRCS}) +add_dependencies(idbdatafile libnetsnmpmibs) + set_target_properties(idbdatafile PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS idbdatafile DESTINATION ${ENGINE_LIBDIR}) diff --git a/utils/rowgroup/CMakeLists.txt b/utils/rowgroup/CMakeLists.txt index 04096374f..f89ba8a09 100644 --- a/utils/rowgroup/CMakeLists.txt +++ b/utils/rowgroup/CMakeLists.txt @@ -10,6 +10,8 @@ set(rowgroup_LIB_SRCS rowaggregation.cpp rowgroup.cpp) add_library(rowgroup SHARED ${rowgroup_LIB_SRCS}) +add_dependencies(rowgroup libnetsnmpmibs) + set_target_properties(rowgroup PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS rowgroup DESTINATION ${ENGINE_LIBDIR}) diff --git a/versioning/BRM/CMakeLists.txt b/versioning/BRM/CMakeLists.txt index d7507adb4..32f98e44c 100644 --- a/versioning/BRM/CMakeLists.txt +++ b/versioning/BRM/CMakeLists.txt @@ -34,6 +34,8 @@ add_library(brm SHARED ${brm_LIB_SRCS}) set_target_properties(brm PROPERTIES VERSION 1.0.0 SOVERSION 1) +add_dependencies(brm libnetsnmpmibs) + install(TARGETS brm DESTINATION ${ENGINE_LIBDIR}) @@ -43,6 +45,8 @@ set(controllernode_SRCS masternode.cpp masterdbrmnode.cpp) add_executable(controllernode ${controllernode_SRCS}) +add_dependencies(controllernode libnetsnmpmibs) + target_link_libraries(controllernode ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS}) install(TARGETS controllernode DESTINATION ${ENGINE_BINDIR}) @@ -54,6 +58,8 @@ set(workernode_SRCS slavenode.cpp) add_executable(workernode ${workernode_SRCS}) +add_dependencies(workernode libnetsnmpmibs) + target_link_libraries(workernode ${ENGINE_LDFLAGS} ${ENGINE_OAM_LIBS} ${ENGINE_EXEC_LIBS} ${ENGINE_NETSNMP_LIBS}) install(TARGETS workernode DESTINATION ${ENGINE_BINDIR}) diff --git a/writeengine/bulk/CMakeLists.txt b/writeengine/bulk/CMakeLists.txt index 77a1cfc81..4f6cc4b0e 100644 --- a/writeengine/bulk/CMakeLists.txt +++ b/writeengine/bulk/CMakeLists.txt @@ -34,6 +34,8 @@ set(cpimport.bin_SRCS cpimport.cpp) add_executable(cpimport.bin ${cpimport.bin_SRCS}) +add_dependencies(cpimport.bin libnetsnmpmibs) + target_link_libraries(cpimport.bin ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} we_bulk we_xml) install(TARGETS cpimport.bin DESTINATION ${ENGINE_BINDIR}) diff --git a/writeengine/client/CMakeLists.txt b/writeengine/client/CMakeLists.txt index b1da2acd9..12c2a20ed 100644 --- a/writeengine/client/CMakeLists.txt +++ b/writeengine/client/CMakeLists.txt @@ -8,6 +8,8 @@ set(writeengineclient_LIB_SRCS we_clients.cpp we_ddlcommandclient.cpp we_dmlcomm add_library(writeengineclient SHARED ${writeengineclient_LIB_SRCS}) +add_dependencies(writeengineclient libnetsnmpmibs) + set_target_properties(writeengineclient PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS writeengineclient DESTINATION ${ENGINE_LIBDIR}) diff --git a/writeengine/redistribute/CMakeLists.txt b/writeengine/redistribute/CMakeLists.txt index 9167d7d05..410f1f18e 100644 --- a/writeengine/redistribute/CMakeLists.txt +++ b/writeengine/redistribute/CMakeLists.txt @@ -11,6 +11,8 @@ set(writeengineredistribute_LIB_SRCS add_library(writeengineredistribute SHARED ${writeengineredistribute_LIB_SRCS}) +add_dependencies(writeengineredistribute libnetsnmpmibs) + set_target_properties(writeengineredistribute PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS writeengineredistribute DESTINATION ${ENGINE_LIBDIR}) diff --git a/writeengine/server/CMakeLists.txt b/writeengine/server/CMakeLists.txt index e79387992..1696d24b3 100644 --- a/writeengine/server/CMakeLists.txt +++ b/writeengine/server/CMakeLists.txt @@ -18,6 +18,8 @@ set(WriteEngineServer_SRCS add_executable(WriteEngineServer ${WriteEngineServer_SRCS}) +add_dependencies(WriteEngineServer libnetsnmpmibs) + target_link_libraries(WriteEngineServer ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} threadpool writeengineredistribute) install(TARGETS WriteEngineServer DESTINATION ${ENGINE_BINDIR}) diff --git a/writeengine/splitter/CMakeLists.txt b/writeengine/splitter/CMakeLists.txt index 19144f7ff..06766cb0d 100644 --- a/writeengine/splitter/CMakeLists.txt +++ b/writeengine/splitter/CMakeLists.txt @@ -17,6 +17,8 @@ set(cpimport_SRCS add_executable(cpimport ${cpimport_SRCS}) +add_dependencies(cpimport libnetsnmpmibs) + target_link_libraries(cpimport ${ENGINE_LDFLAGS} ${ENGINE_WRITE_LIBS} batchloader threadpool) install(TARGETS cpimport DESTINATION ${ENGINE_BINDIR}) diff --git a/writeengine/wrapper/CMakeLists.txt b/writeengine/wrapper/CMakeLists.txt index 36f0047c7..f700a3078 100644 --- a/writeengine/wrapper/CMakeLists.txt +++ b/writeengine/wrapper/CMakeLists.txt @@ -39,6 +39,8 @@ add_definitions(-D_FILE_OFFSET_BITS=64) add_library(writeengine SHARED ${writeengine_LIB_SRCS}) +add_dependencies(writeengine libnetsnmpmibs) + set_target_properties(writeengine PROPERTIES VERSION 1.0.0 SOVERSION 1) install(TARGETS writeengine DESTINATION ${ENGINE_LIBDIR})