Przeglądaj źródła

Merge pull request #11740 from richardkchapman/osx-link-error

HPCC-20628 Build error on OSX

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 6 lat temu
rodzic
commit
526c6f01ed

+ 1 - 1
configuration/config2/hpcc_support/add_required_instances/CMakeLists.txt

@@ -35,6 +35,6 @@ INCLUDE_DIRECTORIES(
 
 
 ADD_DEFINITIONS( -D_USRDLL -DCFGSUPPORT_DAFILESRV_LIB)
 ADD_DEFINITIONS( -D_USRDLL -DCFGSUPPORT_DAFILESRV_LIB)
 HPCC_ADD_LIBRARY( cfgsupport_addrequiredinstances SHARED ${SRCS} )
 HPCC_ADD_LIBRARY( cfgsupport_addrequiredinstances SHARED ${SRCS} )
-TARGET_LINK_LIBRARIES( cfgsupport_addrequiredinstances jlib )
+TARGET_LINK_LIBRARIES( cfgsupport_addrequiredinstances config2 jlib )
 
 
 INSTALL ( TARGETS cfgsupport_addrequiredinstances RUNTIME DESTINATION ${EXEC_DIR} LIBRARY DESTINATION ${LIB_DIR} )
 INSTALL ( TARGETS cfgsupport_addrequiredinstances RUNTIME DESTINATION ${EXEC_DIR} LIBRARY DESTINATION ${LIB_DIR} )