# On ubuntu at least, the system installed ACE does not define this (required by us) if (NOT INTERNAL_ACE) add_definitions( -DACE_HAS_THREAD_SAFE_ACCEPT ) endif (NOT INTERNAL_ACE) # NOTE: Not applied for server tier projects except for mgserver main executable if( CMAKE_COMPILER_IS_GNUCXX ) # Stash a copy of current shared linker flags in case any project needs to build # with undefined symbols set ( WEB_CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}" ) set ( CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed -Wl,--no-undefined -lc ${CMAKE_SHARED_LINKER_FLAGS}") endif( CMAKE_COMPILER_IS_GNUCXX ) set(MG_COMPONENT ${MG_COMPONENT_WEB}) if (NOT MG_COMMON_SUBSET_ONLY) set_install_subdir("webserverextensions/") else (NOT MG_COMMON_SUBSET_ONLY) # For the common subset we want all the libs to be collected into a single place set_install_subdir("") endif (NOT MG_COMMON_SUBSET_ONLY) add_subdirectory(src)